Skip to main content

A quick lightweight psuedo-installation of a subset of Stackless Python functionality.

Project description

Installing Stackless Python is a little cumbersome. Wouldn’t it be easier to install something resembling Stackless Python that upgrades your standard Python installation, with all it’s installed site packages available as before?

This module bungs a greenlet-based module named stackless.py in place, so that anything expecting Stackless Python, will find this small approximation of Stackless Python instead. Whatever you are trying that requires Stackless Python may even work? May be not though.

Limitations of this module:

  • Arguments to stackless.run() are not supported. This means that it does not do pre-emptive interruption of tasklets that have been running for a given number of opcodes.
  • It cannot provide the module level properties that the official stackless module provides, like stackless.runcount.
  • It does not emulate the threading support, where each thread has an isolated scheduler, nor the interthread communications of tasklets and channels.

But the basic non-preemptive functionality is there. It comes from, and has been used in the past as an alternative backend to the syncless framework. And maybe, at some time in the future the module will become more capable with your help?

Future direction: Use tealets as an alternative backend.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stacklessemu-0.1.zip (9.5 kB view hashes)

Uploaded source

Built Distribution

stacklessemu-0.1-py2-none-any.whl (8.2 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page