py-greenlet (python/py-greenlet) Updated: 4 months, 1 week ago Add to my watchlist

Lightweight in-process concurrent programming

The "greenlet" package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels". A "greenlet", on the other hand, is a still more primitive notion of micro-thread with no implicit scheduling; coroutines, in other words. This is useful when you want to control exactly when your code runs. You can build custom scheduled micro-threads on top of greenlet; however, it seems that greenlets are useful on their own as a way to make advanced control flow structures. For example, we can recreate generators; the difference with Python's own generators is that our generators can call nested functions and the nested functions can yield values too. Additionally, you don't need a "yield" keyword. See the example in test_generator.py. Greenlets are provided as a C extension module for the regular unmodified interpreter.

Version: 3.0.3 License: MIT and PSF GitHub
Reset

128 build(s) found

Page 2 of 2 | Showing build(s) 101 to 128

Builder Build Number Start Time Elapsed Time Watcher Build Status
10.12 135585 2021-01-13 16:17:04 0:01:44 40453 build successful
10.8 34994 2021-01-13 16:16:01 0:01:27 11769 build successful
10.7 40541 2021-01-13 16:15:39 0:01:22 13909 build successful
10.10 132093 2021-01-13 16:15:17 0:01:35 41518 build successful
10.9 135889 2021-01-13 16:13:52 0:01:11 41469 build successful
10.6.x86_64 44921 2021-01-13 16:12:12 0:01:24 13930 build successful
11 9736 2020-12-25 11:39:33 0:02:29 1232 build successful
10.6.x86_64 35065 2020-09-24 11:31:18 0:01:33 10439 build successful
10.14 67924 2020-09-24 11:30:38 0:02:19 19673 build successful
10.15 38914 2020-09-24 11:30:38 0:02:17 9226 build successful
10.13 91996 2020-09-24 11:29:06 0:02:18 28947 build successful
10.11 122133 2020-09-24 11:27:40 0:01:59 37990 build successful
10.12 127422 2020-09-24 11:27:26 0:01:49 36987 build successful
10.10 123756 2020-09-24 11:26:44 0:01:47 38045 build successful
10.8 26155 2020-09-24 11:26:15 0:01:45 8292 build successful
10.7 31230 2020-09-24 11:24:45 0:01:47 10428 build successful
10.9 127320 2020-09-24 11:22:52 0:01:18 37997 build successful
10.12 121403 2020-07-09 0:54:31 0:01:19 33825 build successful
10.7 24740 2020-06-28 6:50:46 0:01:16 7262 build successful
10.8 17419 2020-06-21 8:08:15 0:01:33 5128 build successful
10.10 117342 2020-06-19 13:33:53 0:01:14 34886 build successful
10.6.x86_64 27916 2020-06-07 21:08:58 0:01:37 7274 build successful
10.11 115420 2020-06-07 21:08:02 0:02:20 34827 build successful
10.15 32008 2020-06-07 21:06:00 0:02:19 6061 build successful
10.14 61233 2020-06-07 21:03:33 0:01:59 16511 build successful
10.13 85347 2020-06-07 21:02:55 0:02:04 25783 build successful
10.9 120476 2020-06-07 20:56:36 0:01:19 34836 build successful
10.15 7679 2019-11-29 20:46:54 0:02:00 1042 build successful