[pypy-issue] Issue #1826: The stackless implementation of PyPy is incomplete (pypy/pypy)

Anselm Kruis issues-reply at bitbucket.org
Sat Jul 26 14:39:59 CEST 2014

New issue 1826: The stackless implementation of PyPy is incomplete

Anselm Kruis:


the stackless implementations of PyPy and Stackless-Python differ. Stackless added quite a few new functions and properties and fixed shortcomings during the past year. These changes didn't make it to PyPy.

I discussed this situation at Europython 2014 with Armin. As a first step to improve the situation, I created a test suite for the Stackless API: https://bitbucket.org/stackless-dev/stackless-testsuite/overview

This test-suite is a pure Python and runs unmodified on Python 2 or 3. It tests the API that every implementation of the module "stackless" should provide. Currently, the test-suite is not yet complete. It only checks, if expected functions/methods/attributes are present, but it does not yet check the functionality.

To run the test suite simply execute

$ hg clone https://bitbucket.org/stackless-dev/stackless-testsuite
$ cd stackless-testsuite
$ pypy setup.py test

Any comments on the test suite, the stackless API and any help to improve the situation are highly welcome.

More information about the pypy-issue mailing list