Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Standard Stackless Python supporting functionality

Project Description

Stackless Python by itself only provides a basic set of functionality, allowing either cooperative or preemptive scheduling of microthreads within the same operating system thread. This framework provides the additional support that anyone developing an application using Stackless Python will end up eventually implementing.

The most useful aspect is the monkey-patching support. Much of the code in the standard library does blocking operations, or perhaps is even written to make use of threads. If the monkey-patching is installed, then these blocking operations are converted to be “Stackless friendly”. Threads will actually be tasklets. Operations that block the operating system thread (and therefore the Stackless scheduler) will be converted to simply block the tasklet that is standing in for the threads that would otherwise be used.

Even if an application developer does not wish to make use of monkey-patching, they can still make use the framework provided so that they do not need to implement the standard supporting functionality themselves.

Useful supporting functionality:

  • Concurrency-related primitives corresponding to those that the standard library threading module provides for real threads.
  • Ability to put tasklets to sleep for a set amount of time.
  • Ability to specify timeouts for blocking operations.

Changes

Version 1.0.3:

  • All previous versions had broken eggs. This was because the manifest was not correctly configured to recursively include the source directory.
Release History

Release History

This version
History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
stacklesslib-1.0.3-py2.7.egg (55.5 kB) Copy SHA256 Checksum SHA256 2.7 Egg Dec 19, 2011
stacklesslib-1.0.3.win32.exe (93.7 kB) Copy SHA256 Checksum SHA256 any Windows Installer Dec 19, 2011
stacklesslib-1.0.3.zip (32.6 kB) Copy SHA256 Checksum SHA256 Source Dec 19, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting