{"push_id":3063731189,"size":15,"distinct_size":15,"ref":"refs/heads/master","head":"d4729d952e5969a81c8f1feeac133e20a6d4462f","before":"70fcb0b50b5da5cb0e69f30f334de5a00e990972","commits":[{"sha":"74c5070b30b22ac9b196a48d0a97c4eb2e65b815","author":{"name":"Ivan Levkivskyi","email":"b99796cefda2d73a4b26d7cefacf0d5c03fc4be0@gmail.com"},"message":"Invalidate all cache files if plugins change (#5878)\n\nFixes https://github.com/python/mypy/issues/3592\r\n\r\nThis invalidates _all_ cache files if at least one plugin changes its `__version__` or hash of its content (this will not catch situations when there are changes in modules imported by a plugin, _and_ version is also imported, but such situations are probably very rare).\r\n\r\nI was not sure where to place the check to invalidate all caches at the same time, so I invalidate them one by one.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/74c5070b30b22ac9b196a48d0a97c4eb2e65b815"},{"sha":"bdc56042c8392e9ee6e466883b345d8da99a82c9","author":{"name":"Guido van Rossum","email":"adfc8f0aec273eace2629141317c1eac53923f28@python.org"},"message":"Fixes to reports.py -- don't crash on control characters, ensure directories earlier (#5885)\n\nFixes #5884 (both parts). Also fixes testcmdline.py to report unexpected stderr or exit code even when there's an expected output file.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/bdc56042c8392e9ee6e466883b345d8da99a82c9"},{"sha":"af4e0b08c55221fc0cfe9d66e353e7a93ba8116c","author":{"name":"Ivan Levkivskyi","email":"b99796cefda2d73a4b26d7cefacf0d5c03fc4be0@gmail.com"},"message":"Invalidate cache when a plugin is added/removed (#5892)\n\nhttps://github.com/python/mypy/pull/5878 added cache invalidation for situations where a plugin version/hash changes but there is even simpler scenario -- if `plugins` option itself change, the cache should be invalidated as well.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/af4e0b08c55221fc0cfe9d66e353e7a93ba8116c"},{"sha":"af5df383559de14fa19e516a59141ad463881fa5","author":{"name":"Ivan Levkivskyi","email":"b99796cefda2d73a4b26d7cefacf0d5c03fc4be0@gmail.com"},"message":"Always set correct kind for module __getattr__ (#5893)\n\nFixes #5866\r\n\r\nThere are two places where `__getattr__` generated `Var`s are created, and somehow in one of them it was given a `MDEF` kind (which caused a crash), although it is a _module_ attribute.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/af5df383559de14fa19e516a59141ad463881fa5"},{"sha":"79dc1f0cdaaaf2db0e1232fea33b8954c4f6268f","author":{"name":"Guido van Rossum","email":"adfc8f0aec273eace2629141317c1eac53923f28@python.org"},"message":"Skip rest of file upon top-level always-false assert (#5894)\n\n- An always-false condition is a check for `sys.platform` or\r\n  `sys.version_info` or a condition derived from `MYPY` or\r\n `typing.TYPE_CHECKING` or from a name passed to\r\n  `--always-false`. Note that `assert False` doesn't count (!).\r\n\r\nFixes #5308","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/79dc1f0cdaaaf2db0e1232fea33b8954c4f6268f"},{"sha":"3bea26f89a66834f42caaa90cf8db44f99d39dcc","author":{"name":"Ivan Levkivskyi","email":"b99796cefda2d73a4b26d7cefacf0d5c03fc4be0@gmail.com"},"message":"Make descriptor assignments more like normal assignments (#5853)\n\nFixes https://github.com/python/mypy/issues/5851\r\n\r\nThis makes descriptor assignments behave more like normal assignments. This includes:\r\n* The same error message as for normal assignment\r\n* Using binder to restrict types (but under a bit more strict condition)\r\n\r\nI was not able to refactor all the logic to `checkmember.py`, but this is probably OK. Also this PR can introduce potential unsafety as discussed in the issue, but this is probably not much different from using binder in some other situations.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/3bea26f89a66834f42caaa90cf8db44f99d39dcc"},{"sha":"91b9a6b56c1f42535e77b1c1130b2e434068a278","author":{"name":"Michael J. Sullivan","email":"ac816c2ba960962725ee754f27e65dd88d81420a@msully.net"},"message":"Remove an `if not MYPY` from types.py (#5899)\n\n`if not MYPY` doesn't /really/ work in mypyc (it works for imports,\r\nbut not for anything that uses a variable!), and I intend to change it\r\nto work even less.\r\n\r\nThe hack here doesn't seem to be necessary, so there is no trouble\r\nremoving it.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/91b9a6b56c1f42535e77b1c1130b2e434068a278"},{"sha":"9459c7544f9adedb509d92e211f300e573cb6844","author":{"name":"Michael J. Sullivan","email":"ac816c2ba960962725ee754f27e65dd88d81420a@msully.net"},"message":"Add a note about mypy_mypyc to the README (#5881)","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/9459c7544f9adedb509d92e211f300e573cb6844"},{"sha":"f737d372df62e241e0f9b8becffbb89d857a517a","author":{"name":"Michael J. Sullivan","email":"ac816c2ba960962725ee754f27e65dd88d81420a@msully.net"},"message":"Make stubgen less aggressive about walking C extension modules (#5900)\n\nPR #5814 made stubgen try to walk as a module any attribute of a C\r\nextension module of module type. This is too aggressive: mypyc\r\ngenerated extension modules will often have attributes of module type\r\nfrom imports that do not correspond to actual modules.\r\n\r\nThis causes a stubgen test to fail under mypy_mypyc while trying to\r\nimport `mypy.errors.os`, since `mypy.errors` imports `os`.\r\n\r\nOnly walk such a submodule when its `__name__` matches it being a\r\nsubmodule.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/f737d372df62e241e0f9b8becffbb89d857a517a"},{"sha":"3dd2bdf50c086deaf85e879e9b7f0b524fe4f974","author":{"name":"Michael J. Sullivan","email":"ac816c2ba960962725ee754f27e65dd88d81420a@msully.net"},"message":"Add hooks for running tests on an installed version of mypy (#5898)\n\nThe main motivation for all of this is to be able to validate\r\nmypy_mypyc wheels.\r\n\r\nBecause the tests are an integrated subpackage of mypy, I couldn't\r\nfigure out a way to run the tests from the source directory against an\r\ninstalled mypy, and I was reluctant to do a major overhaul of the\r\nsource organization, in part because some other projects take\r\nadvantage of some of the test infrastructure (mypyc, sqlalchemy-stubs).\r\n\r\nSo instead we run the tests from where they get installed with the\r\npackage. To support this, we allow overriding where the tests look for\r\ntest-data using a `MYPY_TEST_PREFIX` environment variable.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/3dd2bdf50c086deaf85e879e9b7f0b524fe4f974"},{"sha":"2680c3fb4582f3eb8f823208014a4b58bc1f734b","author":{"name":"Michael J. Sullivan","email":"ac816c2ba960962725ee754f27e65dd88d81420a@msully.net"},"message":"Lazily import write_junit_xml from dmypy (#5907)\n\nThis speeds `dmypy status` and `dmypy check` on my test MBP by a\r\nwhopping 120ms! (But only about 40ms on my Linux laptop.)","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/2680c3fb4582f3eb8f823208014a4b58bc1f734b"},{"sha":"88062da8836dd9bd1c6c2d72f3d57d39f8f704f4","author":{"name":"Guido van Rossum","email":"adfc8f0aec273eace2629141317c1eac53923f28@python.org"},"message":"End to end tests for daemon (dmypy) (#5906)\n\nFixes #5891","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/88062da8836dd9bd1c6c2d72f3d57d39f8f704f4"},{"sha":"8ec423519dd8921796611b29a0d67e606ecfe24e","author":{"name":"Guido van Rossum","email":"adfc8f0aec273eace2629141317c1eac53923f28@python.org"},"message":"Clean up after failing daemon tests (#5913)\n\nTo make sure no daemon process is leaked.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/8ec423519dd8921796611b29a0d67e606ecfe24e"},{"sha":"4871ddb1fa63c69c9b3793f2e4b230796a13464b","author":{"name":"Jukka Lehtosalo","email":"26c389a0104b7b4dc5202171fd7faa3e67dc1c97@iki.fi"},"message":" Refactor: Move function argument mapping code to a new module  (#5904)\n\nMost of these are imported in more than one place (in mypy or\r\nmypyc) so it makes sense to put them in a dedicated module.","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/4871ddb1fa63c69c9b3793f2e4b230796a13464b"},{"sha":"d4729d952e5969a81c8f1feeac133e20a6d4462f","author":{"name":"dgelessus","email":"d9fcd0266590f478453a28f3e5d8020330ba4afb@users.noreply.github.com"},"message":"Plugin for ctypes.Array (#4869)\n\nFollowup to python/typeshed#1986 (specifically [this discussion](https://github.com/python/typeshed/pull/1986#pullrequestreview-107952327)). This adds a `mypy.plugins.ctypes` module, which provides accurate type info for `ctypes.Array`'s methods. The corresponding typeshed stub uses `Any` in lots of places, because `ctypes`' rules for what is accepted/returned are too complex. This plugin provides callbacks for the following `ctypes.Array` methods and attributes:\r\n\r\n* [x] `ctypes.Array` constructor\r\n* [x] `__getitem__`\r\n* [x] `__setitem__`\r\n* [x] `__iter__`\r\n* [x] `value` and `raw` (see python/typeshed#2111)","distinct":true,"url":"https://api.github.com/repos/dgelessus/mypy/commits/d4729d952e5969a81c8f1feeac133e20a6d4462f"}]}
{"actor":{"display_login":"dgelessus"}}