[issue4805] Make python code compilable with a C++ compiler

Marc-Andre Lemburg report at bugs.python.org
Fri Jan 2 16:51:54 CET 2009


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Moving declarations into header files is not really in line with the way
Python developers use header files:

We usually only put code into header files that is meant for public use. 

Buy putting declarations into the header files without additional
warning, you implicitly document them and make them usable in
non-interpreter code.

----------
nosy: +lemburg

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


More information about the Python-bugs-list mailing list