Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

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.

Files for stacklessemu, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size stacklessemu-0.1-py2-none-any.whl (8.2 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size stacklessemu-0.1.zip (9.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page