more-executors
more-executors copied to clipboard
Library of composable Python executors
## Update dependencies This is a scheduled update of Python dependencies within this repo managed by pip-compile. This change will be approved automatically and merged within a few days if...
updates: - [github.com/psf/black: 22.3.0 → 22.10.0](https://github.com/psf/black/compare/22.3.0...22.10.0)
I note that futures are not slots-using classes. When analyzing memory usage of a program using a lot of futures, I see many dicts apparently linked to the futures created...
Add special-case handling to flatten the data structure when chaining multiple AND/OR together; for example, make f_and(f_and(x, y), z) work approximately in the same way as f_and(x, y, z). The...
Consider the following: ```python f = f_and(f1, f2) f = f_and(f, something) f = f_and(f, other) f = f_and(f, foo) f = f_and(f, bar) # ... ``` That will create...
It is currently possible to induce a stack overflow in some cases of chained futures, e.g. a chain of `f_and` some thousands deep. In such cases, an exception will be...
Consider adding a 'deadline' argument to ExceptionRetryPolicy. The current parameters center around the number of retries and the delay per retry, but that makes it a bit tough to figure...
Super nice library, thank you very much, @rohanpm ! I especially love the prometheus metrics. It is unfortunate that the code is only available under GPL, effectively precluding any commercial...
It seems there's often a need to write code which: - chains some steps A, B, C in sequence - but doesn't need to keep the returned values from each...
I haven't investigated the behavior on fork, but as several futures created by this library are backed by threads and as threads aren't copied over a fork, it seems likely...