Guido Imperiale
Guido Imperiale
Related: #7849, #7865
The same problem is on the keys. ``.keys()`` and ``.__iter__()`` yield ``str`` according to mypy, but the final decorator could make it change that to ``Literal``. Real life use case:...
Unless there's some fundamental optimization I'm missing, the idea of having short-lived subinterpreters is fundamentally flawed. Starting a new interpreter can take hundreds of milliseconds, because you have to reload...
@LewisGaul ```python from concurrent.futures import ProcessPoolExecutor from multiprocessing import get_context def f(): print("Hello world") if __name__ == "__main__": with ProcessPoolExecutor(mp_context=get_context("spawn")) as ex: ex.submit(f).result() ``` f is being pickled in the...
A bit clearer: ```python import os from concurrent.futures import ProcessPoolExecutor from multiprocessing import get_context class C: def __getstate__(self): print("pickled in %d" % os.getpid()) return {} def __setstate__(self, state): print("unpickled in...
This module is vendored in ndcsv and recursive_diff too. There, there's 2 additional warnings (probably due to different dependencies?) 'ignore:the `pandas.MultiIndex` object.* will no longer be implicitly promoted:FutureWarning', 'ignore:updating coordinate...
> We've also talked about doing column pruning automatically. This is one of the optimizations we hope would be enabled by high level expressions / revising high level graphs [dask/dask#7933](https://github.com/dask/dask/issues/7933)...
About the pure-python code: @gjoseph92 I wonder if it would be feasible to offer a simple flag in coiled.Cluster, e.g. `low_level_profile=True`, which would let us populate a grafana plot of...
> when fully following the numpydoc docstring style, we create redundant type information Good point. I updated the opening post. > I'm less excited about having a style guide like...
> Could you clarify `None` vs [`NoneType`](https://docs.python.org/3/library/types.html#types.NoneType), reintroduced in 3.10? Could you articulate? I've never seen NoneType used in annotations