py312-greenlet (python/py-greenlet) Updated: 2 months ago Add to my watchlist
Lightweight in-process concurrent programmingThe "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.1.1 License: MIT and PSF GitHub56 build(s) found
Builder | Build Number | Start Time | Elapsed Time | Watcher | Build Status |
---|---|---|---|---|---|
15 | 1057 | 2024-09-28 19:38:27 | 0:00:32 | 103 | build successful |
14 | 48683 | 2024-09-28 1:18:19 | 0:01:57 | 14159 | build successful |
13 | 79245 | 2024-09-26 21:27:39 | 0:01:34 | 25954 | build successful |
12.arm64 | 138025 | 2024-09-25 1:04:11 | 0:00:16 | 40101 | build successful |
14.arm64 | 43030 | 2024-09-24 21:28:31 | 0:00:15 | 13794 | build successful |
11 | 167783 | 2024-09-24 16:07:57 | 0:01:23 | 51307 | build successful |
12 | 119423 | 2024-09-24 16:05:47 | 0:01:13 | 40214 | build successful |
10.15 | 196778 | 2024-09-24 15:47:12 | 0:01:16 | 61386 | build successful |
10.14 | 219697 | 2024-09-24 15:39:19 | 0:01:02 | 72315 | build successful |
10.6 | 181473 | 2024-09-24 15:22:56 | 0:01:01 | 63332 | build successful |
10.6.x86_64 | 217396 | 2024-09-24 15:09:18 | 0:00:58 | 63376 | build successful |
10.13 | 245588 | 2024-09-24 15:08:29 | 0:00:57 | 81645 | build successful |
10.11 | 277287 | 2024-09-24 14:55:17 | 0:01:07 | 90831 | build successful |
10.7 | 205007 | 2024-09-24 14:49:11 | 0:00:55 | 63081 | build successful |
10.8 | 191271 | 2024-09-24 14:29:48 | 0:01:05 | 61134 | build successful |
10.9 | 290959 | 2024-09-24 14:24:33 | 0:00:58 | 90341 | build successful |
10.10 | 283579 | 2024-09-24 14:21:18 | 0:00:48 | 90669 | build successful |
10.12 | 286764 | 2024-09-24 14:21:07 | 0:00:49 | 89543 | build successful |
13.arm64 | 71674 | 2024-09-24 14:02:25 | 0:00:10 | 25702 | build successful |
14.arm64 | 2347 | 2024-01-11 13:47:03 | 0:00:21 | 603 | build successful |
13 | 58754 | 2024-01-10 20:00:05 | 0:02:12 | 16069 | build successful |
11.arm64 | 112320 | 2024-01-08 4:26:36 | 0:00:20 | 41380 | build successful |
10.13 | 216994 | 2024-01-08 3:23:07 | 0:00:49 | 71710 | build successful |
12.arm64 | 115558 | 2024-01-08 3:19:29 | 0:00:18 | 30180 | build successful |
14 | 24627 | 2024-01-07 18:38:38 | 0:01:26 | 4093 | build successful |
10.14 | 192254 | 2024-01-07 18:09:09 | 0:00:58 | 62461 | build successful |
10.6 | 148636 | 2024-01-07 17:43:13 | 0:01:08 | 53393 | build successful |
10.11 | 247620 | 2024-01-07 17:43:10 | 0:01:09 | 80868 | build successful |
10.15 | 168092 | 2024-01-07 17:42:37 | 0:01:17 | 51450 | build successful |
10.6.x86_64 | 184110 | 2024-01-07 17:41:58 | 0:01:01 | 53437 | build successful |
10.8 | 160577 | 2024-01-07 17:40:48 | 0:00:48 | 51234 | build successful |
11 | 138962 | 2024-01-07 17:26:52 | 0:01:23 | 41379 | build successful |
12 | 93161 | 2024-01-07 17:26:11 | 0:01:07 | 30193 | build successful |
10.9 | 258876 | 2024-01-07 17:19:43 | 0:00:57 | 80441 | build successful |
10.10 | 252103 | 2024-01-07 17:17:41 | 0:00:48 | 80759 | build successful |
10.7 | 172885 | 2024-01-07 17:16:51 | 0:00:53 | 53173 | build successful |
10.12 | 256643 | 2024-01-07 17:15:18 | 0:00:52 | 79653 | build successful |
13.arm64 | 47517 | 2024-01-07 16:58:43 | 0:00:28 | 15800 | build successful |
13 | 56647 | 2023-12-13 6:14:06 | 0:02:33 | 14915 | build successful |
11.arm64 | 110087 | 2023-12-13 2:10:38 | 0:00:23 | 40368 | build successful |
14 | 18122 | 2023-12-12 23:29:43 | 0:01:28 | 2894 | build successful |
12.arm64 | 113410 | 2023-12-12 22:59:47 | 0:00:19 | 29171 | build successful |
10.14 | 189253 | 2023-12-12 22:11:17 | 0:01:01 | 61452 | build successful |
10.11 | 244766 | 2023-12-12 21:56:32 | 0:01:02 | 79850 | build successful |
10.8 | 157525 | 2023-12-12 21:52:35 | 0:00:49 | 50217 | build successful |
10.6 | 145592 | 2023-12-12 21:51:52 | 0:01:04 | 52381 | build successful |
11 | 136112 | 2023-12-12 21:51:47 | 0:01:26 | 40363 | build successful |
10.15 | 165165 | 2023-12-12 21:51:09 | 0:01:19 | 50439 | build successful |
10.13 | 213992 | 2023-12-12 21:49:05 | 0:00:50 | 70695 | build successful |
12 | 90404 | 2023-12-12 21:48:59 | 0:01:10 | 29159 | build successful |
10.10 | 248875 | 2023-12-12 21:47:59 | 0:00:55 | 79737 | build successful |
10.9 | 255687 | 2023-12-12 21:47:30 | 0:01:00 | 79429 | build successful |
10.6.x86_64 | 181043 | 2023-12-12 21:47:08 | 0:01:08 | 52423 | build successful |
10.7 | 169576 | 2023-12-12 21:45:45 | 0:01:02 | 52161 | build successful |
10.12 | 253670 | 2023-12-12 21:44:00 | 0:00:55 | 78643 | build successful |
13.arm64 | 44539 | 2023-12-12 21:34:50 | 0:00:19 | 14787 | build successful |