Sebastian Rittau

Results 518 comments of Sebastian Rittau

I remember that this is at least the second time, where a pyright "bug" can't be reproduced outside our CI environment. Something strange is going on with our CI it...

The weird CI problems are gone now. Ready to review.

@intgr Sorry for the long process. I've added the Django stubs to the stub uploader allowlist. I see this as uncritical. There are some type errors now, though.

Python 3.11 only: ``` error: argparse._VersionAction.__init__ is inconsistent, runtime argument "help" has a default value of type None, which is incompatible with stub argument type builtins.str Stub: in file stdlib/argparse.pyi:515...

We have basically three options here: * Return `Union[Message, EmailMessage]`. This does not really improve the situation, since an `isinstance()` is still necessary when `EmailMessage` is returned. * Return just...

Overloads work fine for when a `_class` is provided, but will not work for `policy`, until literal types (python/mypy#3062) are implemented. (Your third overload needs an asterisk before the last...

Redis 5.0.0 added a py.typed file. Still, I wonder whether we should remove our stubs at this point, as the redis code is basically untyped, even quite fundamental classes and...

@meshantz Thanks for the suggestion. We now removed the wording and instead suggest du leave the package installed for now.

I'm marking this issue as deferred for now.