Skip to main content

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.

Metadata

Release files for stacklessemu 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stacklessemu 0.1
File Size Uploaded
stacklessemu-0.1.zip 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stacklessemu 0.1
File Interpreter ABI Platform
stacklessemu-0.1-py2-none-any.whl Python 2 none any Details

Total release size: 17.7 kB

Release files / stacklessemu-0.1.zip

Download URL stacklessemu-0.1.zip
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bc5e83b9ed33ab9139df4cc7729f485948e0609db308e1de247099ea61eec339
BLAKE2b-256 checksum
How to use checksums
aca70d0929dd88c2fc8966c4abd62bccd644167e3abb47fa5ac905bdb312b222
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / stacklessemu-0.1-py2-none-any.whl

Download URL stacklessemu-0.1-py2-none-any.whl
Size 8.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
ef192b394945784b329a1fcec2646f812343286ccf99bccdf6e320d6f17b032f
BLAKE2b-256 checksum
How to use checksums
09517bf20d3133ed79f185723669efdc6b5a9943ed04141fea0416379b35b4de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page