Currently pickling decorated function is impossible due to name collision.
Because the decorated function is what we want, so it would be nice to add
syntax sugar in Python to automatically rename original function with random
generated prefix or suffix.
This can greatly help the application of
Currently, There is two types of Executor in `concurrent.futures`.
They are `ThreadPoolExecutor` and `ProcessPoolExecutor`, there is GIL
limitation of `ThreadPoolExecutor` and `ProcessPoolExecutor` need to use
`pickle` which have limitation on decorated function.
It would be nice to add new Exe
Are you looking for
ProcessPoolExecutor(mp_context=multiprocessing.get_context("fork"))
___
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-i
On 05/11/2021 15:57, Stephen J. Turnbull wrote:
Still on the agenda as far as I can see:
1. Syntax. The proposals I can recall are
a. x=>default
b. *x=default
c. x=@default
d. maybe putting * or @ on the opposite component in b and c?
e. a keyword before default