Stefan Krah <ste...@bytereef.org> added the comment:

Can't we just use #ifndef __cplusplus instead of changing the function?

I don't think anyone compiles the affected files with a C++ compiler.


There are many areas in Include/* that fail with C++, e.g. isnan() with 
-std=c++11.

----------
nosy: +skrah

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to