3 ms·
> Why do they hang on to Python2.7? https://doc.pypy.org/en/latest/faq.html#how-long-will-pypy-support-python2 https://doc.pypy.org/en/latest/faq.html#how-long
by progval 6y ago
> Why do they hang on to Python2.7?
https://doc.pypy.org/en/latest/faq.html#how-long-will-pypy-support-python2 https://doc.pypy.org/en/latest/faq.html#how-long-will-pypy-s...
PyPy is written in RPython, which is a subset of Python 2 without most of the dynamic features, so it can be compiled. Moving it to a subset of Python 3 would be a major effort, as they would have to rewrite both the PyPy code and the RPython compiler.
And RPython, being a subset of Python, can also be interpreted, so they probably want to keep the Python 2 interpreter so they can interpret it.
- kzrdude 6y agoThanks, that's understandable. I think that they should switch to displaying and talking about Py 3 comparison benchmarks to give the impression that they are a non-legacy project.
- d0mine 6y agoGiven how limited RPython is, are you sure RPython is not Python 2/3 compatible as is? What Python 2 only features it uses? The faq that you've linked says that RPython will continue to run on Python 2 as long as Pypy exists, it says nothing about running RPython on Python 3 interpreter.