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.
Stackless compatible socket library.
Metadata
Release files for stacklesslib 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stacklesslib-1.2.3.tar.gz | 64.7 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stacklesslib-1.2.3-py3.6.egg | Legacy Egg format | - | - | Details |
| stacklesslib-1.2.3-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 469.1 kB
Release files / stacklesslib-1.2.3.tar.gz
| Download URL | stacklesslib-1.2.3.tar.gz |
|---|---|
| Size | 64.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60969638f80a0343d509e7bf65d3af3580838bf19a6d1cf04dd4f3ff2c178b16
|
|
BLAKE2b-256 checksum How to use checksums |
38f0c0b23a89df0c6cf364677f5fce8d02f64984c9b37e394d8e4e29a8d28794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / stacklesslib-1.2.3-py3.6.egg
| Download URL | stacklesslib-1.2.3-py3.6.egg |
|---|---|
| Size | 203.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
160547b63c3723259c34aceae7ee52f9a86f5e74d537a808ffb983804539bb9e
|
|
BLAKE2b-256 checksum How to use checksums |
7807a8147a0f1df95b48b7ad3ac6ba21ce6191e86f6ecd8d0eec840190e79841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / stacklesslib-1.2.3-py2.7.egg
| Download URL | stacklesslib-1.2.3-py2.7.egg |
|---|---|
| Size | 200.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c07fa453528b947c191a93bbbd6fdca25f92b8a817ca96579cfdf01699951e68
|
|
BLAKE2b-256 checksum How to use checksums |
7d474fab34015189359ebb541d23cc16c0116e0aaca6767873ada3472b91eeea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |