On 8/1/2010 7:08 PM, candide wrote:
Python is an object oriented langage (OOL). The Python main implementation is written in pure and "old" C90. Is it for historical reasons?
Python was first released before C++. C is available on, and hence Python runs on, systems that do not have C++ available.
C is not an OOL and C++ strongly is. I wonder if it wouldn't be more suitable to implement an OOL with another one.
Python's object system is sufficiently different from that of C++ that I doubt the latter could used with much profit.
Has it ever been planned to rewrite in C++ the historical implementation (of course in an object oriented design) ?
Proposed and rejected. Not every C programmer knows or wants to learn C++. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list