Georg Brandl <ge...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10349>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to