You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should update the instance variable. Every Callable[..., None] is a Callable[[], object]. ProcessPoolExecutor just ignores whatever is returned, so it's valid to pass something into it that happens to return a value. Typeshed typically prefers false negatives over false positives.
The docs say:
No mention of it returning anything.
And type is
Callable[..., None]
as expected:typeshed/stdlib/concurrent/futures/process.pyi
Lines 157 to 159 in 5eb040b
But then for
>=3.11
there's this overload:typeshed/stdlib/concurrent/futures/process.pyi
Lines 173 to 179 in 5eb040b
Seems to have come in on 8b3b6bf.
@AlexWaygood am I missing something? 🤔
The text was updated successfully, but these errors were encountered: