icon: dot title: Comparison with CPython
cpython is the reference implementation of the Python programming language. It is written in C and is the most widely used implementation of Python.
pkpy aims to be an alternative to lua for game scripting, not cpython for general purpose programming.
pkpy supports most of the syntax and semantics of python. For performance and simplicity, some features are not implemented, or behave differently.
**kwargs in function definition.__getattr__ and __setattr__.__get__ and __set__. However, @property is implemented.__slots__ in class definition.import module from a directory with __init__.py.(1,) is not supported.list and dict literals, i.e. [1, 2, *a].StopIteration is returned instead of raised.++i and --j is an increment/decrement statement, not an expression.