Torsten Wörtwein
Torsten Wörtwein
some network timeouts on windows and mac but otherwise all green
> I assume your use case for this is to ignore errors from `deprecate_nonkeyword_arguments`? In which case I have a proposal for you: make `deprecate_nonkeyword_arguments` alter the function signature. Wow,...
A not thought-through idea: Would it make sense for stubtest to operate in two steps: 1) Generate pyi files based on runtime inspection and 2) then "somehow" re-use mypy/pyright to...
> Do you have reproducer for the event ? ```py import time from dask.distributed import Client, LocalCluster from distributed.worker_client import get_worker def test_fun(): time.sleep(5) return get_worker().name if __name__ == "__main__":...
potential regression in mypyc: #13227
> Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests,...
Option 3 (it's an annoying warning but also a major change~~and `DeprecationWarning` are not printed by default~~)
You are right! (For some reason, I get a different `DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated ` on python 3.12 only when changing the warning level). This is probably not the place...
If ruff can analyze the minimally needed types/methods for arguments and, based on that, suggests widening the type (for example, from list to Sequence), that would be amazing! A blanket...
> Gotta learn about deprecating Luckily, it is quite simple: 1) you decorate the method with this: `@deprecate_nonkeyword_arguments(version="3.0", allowed_args=["self"], name="all")` where `name` is the name of the method. 2) Add...