I have started learning python and there's a concept of flavors of python in which first is CPython and it's defination is that it is default implementation of Python. Now here i don't understand what it is trying to say, is that - full python is implemented in c language or is that only something is implemented of python in c language. Please figure out confusion among these.
CodePudding user response:
There's one group of developers which work on the Python language. The "Python language" could just be an abstract specification of how the language is supposed to behave, with no actual runnable project. But that's not what those Python developers do; they produce the "Python language" both in the abstract as a series of suggestions and documentation, but they also implement that in the CPython language. CPython is an implementation of the Python language, written in C. "The Python language" in the abstract (specifications, documentation) and in its actual implementation in the form of CPython go hand in hand.
There are other groups of developers implementing alternative versions of the Python language; they behave the same (for the most part) in that they can execute Python code conforming to the abstract language definition, but the Python implementation is not the aforementioned CPython, but something else.
CodePudding user response:
CPython is the name of a particular implementation of the language Python, and with default they mean this is the one you most likely want to use. Other implementations include PyPy, Stackless and MicroPython.