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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stacklessemu-0.1.zip
.
File metadata
- Download URL: stacklessemu-0.1.zip
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc5e83b9ed33ab9139df4cc7729f485948e0609db308e1de247099ea61eec339 |
|
MD5 | ad0f41c2a585db927595e12142be720c |
|
BLAKE2b-256 | aca70d0929dd88c2fc8966c4abd62bccd644167e3abb47fa5ac905bdb312b222 |
File details
Details for the file stacklessemu-0.1-py2-none-any.whl
.
File metadata
- Download URL: stacklessemu-0.1-py2-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef192b394945784b329a1fcec2646f812343286ccf99bccdf6e320d6f17b032f |
|
MD5 | 137babc60c03ce4ff947f979ace70dc4 |
|
BLAKE2b-256 | 09517bf20d3133ed79f185723669efdc6b5a9943ed04141fea0416379b35b4de |