Shantanu
Shantanu
Since we're starting to plan a 1.0 release, I'm taking the opportunity to do a pass over the mypy docs. Some overarching goals include: - Increase consistency. It's pretty common...
We have >1800 open issues, so it's easy to lose sight of ways we could make mypy better. Here's my summary of things I'd like to see. Related to https://github.com/python/mypy/issues/6740,...
Fixes #9091 This brings us in line with the PEP 484 updates in 2018
Fixes #10575
We've started seeing non deterministic failures of mypyc incremental tests in CI. The first test failure on master was on https://github.com/python/mypy/commit/840a310f0b6c4a4bd7edfb141c8d1731ba4dd027 (succeeded on retry). The earliest test failure I've observed...
Suggested by pradyunsg in #11374 Since half of the API of this class depends on self.req not being None, it seems like we should just prevent users from passing None...
Two things to change here: First, I think the StreamWrapper code was buggy and it meant to patch an instance, not the class. It probably doesn't show up in practice...
There's no indication that BUILTINS is a special name. Other names that are special to dataclass are all prefixed by an underscore. As mentioned in the issue, we can also...
`show_none_errors` is deprecated, see https://github.com/python/mypy/pull/13507
This is causing a lot of pain for users. See for example https://github.com/snowflakedb/snowflake-connector-python/issues/1259 and https://github.com/snowflakedb/snowflake-connector-python/issues/1118 (would love a release for https://github.com/snowflakedb/snowflake-connector-python/pull/1266 by the way :-) ) Here's a writeup about...