[Python-Dev] Baffled by PyArg_ParseTupleAndKeywords modification (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Feb 11 22:48:05 CET 2006
- Previous message: [Python-Dev] Baffled by PyArg_ParseTupleAndKeywords modification
- Next message: [Python-Dev] Baffled by PyArg_ParseTupleAndKeywords modification
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin v. Löwis wrote:
That future version might get published in 2270,
There are already differences which make C and C++ annoyingly incompatible. One is the const char * const * issue that appeared here. Another is that it no longer seems to be permissible to forward-declare static things, which has caused me trouble with Pyrex. That's not just a deprecation -- some compilers refuse to compile it at all.
Personally I wouldn't mind about these things, as I currently don't care if I never write another line of C++ in my life. But if e.g. Pyrex-generated code is to interoperate with other people's C++ code, I need to worry about these issues.
when everybody has switched to C++, and compatibility with C is no longer required.
Yeeks, I hope not! The world needs less C++, not more...
Sure you can still use stdio, and it is never going away (it isn't deprecated). However, you have to spell the header as
#include and then refer to the functions as std::printf, std::stderr, etc.
Which makes it a very different language from C in this area. That's my point.
Greg
- Previous message: [Python-Dev] Baffled by PyArg_ParseTupleAndKeywords modification
- Next message: [Python-Dev] Baffled by PyArg_ParseTupleAndKeywords modification
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]