The stackless implementation of PyPy is incomplete
Created originally on Bitbucket by akruis (Anselm Kruis)
Hi,
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
#!sh
$ 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.