{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":7053637,"defaultBranch":"master","name":"mypy","ownerLogin":"python","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-12-07T13:30:23.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1525981?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716513668.0","currentOid":""},"activityList":{"items":[{"before":"66b48cbe97bf9c7660525766afe6d7089a984769","after":"fa2aefc3f50479a0d9ef3295a90913435b5b4ad2","ref":"refs/heads/master","pushedAt":"2024-05-25T13:14:57.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Fix for bug with descriptors in non-strict-optional (#17293)\n\nFixes #17289.","shortMessageHtmlLink":"Fix for bug with descriptors in non-strict-optional (#17293)"}},{"before":"3ddc0094dcfe5523832b7ddcf87fb67b7b61d550","after":"66b48cbe97bf9c7660525766afe6d7089a984769","ref":"refs/heads/master","pushedAt":"2024-05-25T06:02:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"Fix stubgen for Python 3.13 (#17290)\n\n__firstlineno__ and __static_attributes__ are new in 3.13.\r\n__annotate__ will be new in 3.14, so we might as well add it now.\r\n\r\nI tried to run the test suite on 3.13. There are a ton of compilation\r\nfailures from mypyc, and a number of stubgen failures that this PR will\r\nfix.","shortMessageHtmlLink":"Fix stubgen for Python 3.13 (#17290)"}},{"before":"43a605f742bd554acbdff9bea74c764621e3aa44","after":"3ddc0094dcfe5523832b7ddcf87fb67b7b61d550","ref":"refs/heads/master","pushedAt":"2024-05-25T00:19:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Support unions in functools.partial (#17284)\n\nCo-authored-by: cdce8p","shortMessageHtmlLink":"Support unions in functools.partial (#17284)"}},{"before":"86c0e2cd743eddac409a21cf59b19abb0b108f65","after":null,"ref":"refs/heads/mypybot/sync-typeshed","pushedAt":"2024-05-24T01:21:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"}},{"before":"25087fdbb72d1495e6903d171dee999c47ba09fd","after":"43a605f742bd554acbdff9bea74c764621e3aa44","ref":"refs/heads/master","pushedAt":"2024-05-24T01:21:07.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Mypybot/sync typeshed (#17280)\n\nSync typeshed before 1.11 release.\r\n\r\n---------\r\n\r\nCo-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>\r\nCo-authored-by: AlexWaygood \r\nCo-authored-by: Jelle Zijlstra ","shortMessageHtmlLink":"Mypybot/sync typeshed (#17280)"}},{"before":"4d1e8a75542282448ff13892470b79b8c20a43ab","after":"86c0e2cd743eddac409a21cf59b19abb0b108f65","ref":"refs/heads/mypybot/sync-typeshed","pushedAt":"2024-05-24T01:01:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Update mypy/fastparse.py\n\nCo-authored-by: Alex Waygood ","shortMessageHtmlLink":"Update mypy/fastparse.py"}},{"before":"f9666d8a398f5079e5c6ddc450d5282f1ea7bb2f","after":"4d1e8a75542282448ff13892470b79b8c20a43ab","ref":"refs/heads/mypybot/sync-typeshed","pushedAt":"2024-05-24T00:30:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Fix pythoneval test","shortMessageHtmlLink":"Fix pythoneval test"}},{"before":"61e5363b639a522a041fffde778507817edcfa7c","after":"f9666d8a398f5079e5c6ddc450d5282f1ea7bb2f","ref":"refs/heads/mypybot/sync-typeshed","pushedAt":"2024-05-24T00:13:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Now it is unused?","shortMessageHtmlLink":"Now it is unused?"}},{"before":"2de4f654ce2070fef83af8529124bba8bfc0d8cd","after":"61e5363b639a522a041fffde778507817edcfa7c","ref":"refs/heads/mypybot/sync-typeshed","pushedAt":"2024-05-24T00:12:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"cast","shortMessageHtmlLink":"cast"}},{"before":"74d501945c9427d2ea53057644deeb2482b30fca","after":"2de4f654ce2070fef83af8529124bba8bfc0d8cd","ref":"refs/heads/mypybot/sync-typeshed","pushedAt":"2024-05-24T00:05:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Fix new type errors","shortMessageHtmlLink":"Fix new type errors"}},{"before":null,"after":"74d501945c9427d2ea53057644deeb2482b30fca","ref":"refs/heads/mypybot/sync-typeshed","pushedAt":"2024-05-23T22:57:26.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koogoro","name":"Max Murin","path":"/koogoro","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18634257?s=80&v=4"},"commit":{"message":"Revert typeshed ctypes change Since the plugin provides superior type checking: https://github.com/python/mypy/pull/13987#issuecomment-1310863427 A manual cherry-pick of e437cdf.","shortMessageHtmlLink":"Revert typeshed ctypes change Since the plugin provides superior type…"}},{"before":"0871c93334738d2d4429056f19223d92ffb094ce","after":"25087fdbb72d1495e6903d171dee999c47ba09fd","ref":"refs/heads/master","pushedAt":"2024-05-23T05:59:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"Validate more about overrides on untyped methods (#17276)\n\nThis commit fixes #9618 by making MyPy always complain if a method\r\noverrides a base class method marked as `@final`.\r\n\r\nIn the process, it also adds a few additional validations:\r\n- Always verify the `@override` decorator, which ought to be pretty\r\nbackward-compatible for most projects assuming that strict override\r\nchecks aren't enabled by default (and it appears to me that\r\n`--enable-error-code explicit-override` is off by default)\r\n- Verify that the method signature is compatible (which in practice\r\nmeans only arity and argument name checks) *if* the\r\n`--check-untyped-defs` flag is set; it seems unlikely that a user would\r\nwant mypy to validate the bodies of untyped functions but wouldn't want\r\nto be alerted about incompatible overrides.\r\n\r\nNote: I did also explore enabling the signature compatibility check for\r\nall code, which in principle makes sense. But the mypy_primer results\r\nindicated that there would be backward compability issues because too\r\nmany libraries rely on us not validating this:\r\nhttps://github.com/python/mypy/pull/17274","shortMessageHtmlLink":"Validate more about overrides on untyped methods (#17276)"}},{"before":"ca393dd07ab729a860215b1ff0257bc599bf1068","after":"0871c93334738d2d4429056f19223d92ffb094ce","ref":"refs/heads/master","pushedAt":"2024-05-23T05:54:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"Add support for functools.partial (#16939)\n\nFixes #1484\r\n\r\nTurns out that this is currently the second most popular mypy issue (and\r\nfirst most popular is a type system feature request that would need a\r\nPEP). I'm sure there's stuff missing, but this should handle most cases.","shortMessageHtmlLink":"Add support for functools.partial (#16939)"}},{"before":"99dd3145ec1506415d3d2c7cf0bcb15735acac00","after":"ca393dd07ab729a860215b1ff0257bc599bf1068","ref":"refs/heads/master","pushedAt":"2024-05-21T23:35:23.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"fix: annotated argument's `var` node type is explicit, not inferred (#17217)\n\nFixes #17216\r\n\r\nDuring conversion from a standard library AST to the mypy AST, `Var`\r\nnodes were being created inside `Argument` nodes without acknowledging\r\nthe presence of a type annotation, leading to the `Var` node's type as\r\nbeing always set as *inferred*:\r\n\r\n\r\nhttps://github.com/python/mypy/blob/fb31409b392c5533b25173705d62ed385ee39cfb/mypy/nodes.py#L988\r\n\r\nThis causes an error at\r\n\r\nhttps://github.com/python/mypy/blob/fb31409b392c5533b25173705d62ed385ee39cfb/mypyc/irbuild/expression.py#L161-L164\r\n\r\nThe fix simply acknowledges any presence of a type annotation, so the\r\ntype of the relevant `Var` node is no longer considered inferred if an\r\nannotation is present.","shortMessageHtmlLink":"fix: annotated argument's var node type is explicit, not inferred (#…"}},{"before":"42157ba5a3ebe7117ee5e4952d3cd7696305bdd4","after":"99dd3145ec1506415d3d2c7cf0bcb15735acac00","ref":"refs/heads/master","pushedAt":"2024-05-21T20:55:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"Automatically set -n=0 when running tests with --update-data (#17204)\n\nUnless there is a reason to have the error, I think this improves the\r\ndeveloper experience.","shortMessageHtmlLink":"Automatically set -n=0 when running tests with --update-data (#17204)"}},{"before":"2892ed4d0e91e7b715a246e6d4530a4685daea1e","after":"42157ba5a3ebe7117ee5e4952d3cd7696305bdd4","ref":"refs/heads/master","pushedAt":"2024-05-21T20:40:02.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"stubgen: preserve enum value initialisers (#17125)\n\nSee https://github.com/python/typing-council/issues/11","shortMessageHtmlLink":"stubgen: preserve enum value initialisers (#17125)"}},{"before":"f5afdcd01adfe2b082d9f61f467920845f9d1176","after":"2892ed4d0e91e7b715a246e6d4530a4685daea1e","ref":"refs/heads/master","pushedAt":"2024-05-21T20:38:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"Fix case involving non-ASCII chars on Windows (#17275)\n\nFixes #16669\r\n\r\nOne can replicate this error in Windows using Python3.8 just by calling\r\nthe mypy/pyinfo.py module using a slightly modified code of the\r\n`get_search_dirs` function where the python executable doesn't match the\r\nvalue of sys.executable. The only modification made to this code from\r\n`get_search_dirs` is the adding of a non-ascii-path to the env parameter","shortMessageHtmlLink":"Fix case involving non-ASCII chars on Windows (#17275)"}},{"before":"3579c6149b74bee4717fb5fcac9e4351d36fe1b5","after":"f5afdcd01adfe2b082d9f61f467920845f9d1176","ref":"refs/heads/master","pushedAt":"2024-05-21T03:08:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"Add support for __spec__ (#14739)\n\nFixes #4145\n\nCo-authored-by: Joongi Kim ","shortMessageHtmlLink":"Add support for __spec__ (#14739)"}},{"before":"e8a26308d5d06925cf769b62f41ef2e4bc546ada","after":"3579c6149b74bee4717fb5fcac9e4351d36fe1b5","ref":"refs/heads/master","pushedAt":"2024-05-21T02:33:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Add test documenting #17230 (#17199)","shortMessageHtmlLink":"Add test documenting #17230 (#17199)"}},{"before":"15a2ae32349aa4db2a27b3bcd7a5cd34bf6e883e","after":"f548b45b9b441c77a5a3451f54acf4d82ee8a357","ref":"refs/heads/mypyc-int-unbox-inline","pushedAt":"2024-05-20T20:20:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JukkaL","name":"Jukka Lehtosalo","path":"/JukkaL","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1107911?s=80&v=4"},"commit":{"message":"Fix Python 3.11 and older","shortMessageHtmlLink":"Fix Python 3.11 and older"}},{"before":"ac8a5a76d4944890b14da427b75d93c329c68003","after":"e8a26308d5d06925cf769b62f41ef2e4bc546ada","ref":"refs/heads/master","pushedAt":"2024-05-20T19:54:27.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Stubtest: ignore `_ios_support` (#17270)\n\nTrying to import this module on py313 raises RuntimeError on Windows,\r\nand it doesn't seem important","shortMessageHtmlLink":"Stubtest: ignore _ios_support (#17270)"}},{"before":null,"after":"268eec82e7c4d21908155a515f0f1bcc4319f793","ref":"refs/heads/type-var-syntax-4-old-and-new","pushedAt":"2024-05-20T14:00:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"JukkaL","name":"Jukka Lehtosalo","path":"/JukkaL","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1107911?s=80&v=4"},"commit":{"message":"Generate error if mixing old-style and new-style type vars","shortMessageHtmlLink":"Generate error if mixing old-style and new-style type vars"}},{"before":null,"after":"3bbc6bcb93e99d9483e19a0dc0a98787b6acc0bd","ref":"refs/heads/type-var-syntax-3-recursive-alias","pushedAt":"2024-05-20T11:10:54.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"JukkaL","name":"Jukka Lehtosalo","path":"/JukkaL","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1107911?s=80&v=4"},"commit":{"message":"Test forward references","shortMessageHtmlLink":"Test forward references"}},{"before":null,"after":"15a2ae32349aa4db2a27b3bcd7a5cd34bf6e883e","ref":"refs/heads/mypyc-int-unbox-inline","pushedAt":"2024-05-19T12:24:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"JukkaL","name":"Jukka Lehtosalo","path":"/JukkaL","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1107911?s=80&v=4"},"commit":{"message":"Add comment","shortMessageHtmlLink":"Add comment"}},{"before":null,"after":"919e69657508f21ae331a14668a88397ba444373","ref":"refs/heads/mypyc-int-inline","pushedAt":"2024-05-19T09:10:55.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"JukkaL","name":"Jukka Lehtosalo","path":"/JukkaL","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1107911?s=80&v=4"},"commit":{"message":"Minor tweak","shortMessageHtmlLink":"Minor tweak"}},{"before":"c27f4f5858035a61a32e7149c95abdb5a4660d7e","after":"ac8a5a76d4944890b14da427b75d93c329c68003","ref":"refs/heads/master","pushedAt":"2024-05-19T08:58:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JukkaL","name":"Jukka Lehtosalo","path":"/JukkaL","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1107911?s=80&v=4"},"commit":{"message":"[mypyc] Allow specifying primitives as pure (#17263)\n\nPure primitives have no side effects, take only immutable arguments,\r\nand never fail. These properties will enable additional\r\noptimizations. For example, it doesn't matter in which order\r\nthese primitives are evaluated, and we can perform common\r\nsubexpression elimination on them.\r\n\r\nOnly mark a few primitives as pure for now, but we can generalize\r\nthis later.","shortMessageHtmlLink":"[mypyc] Allow specifying primitives as pure (#17263)"}},{"before":"8f7ba1ac0ca98eaf51cea77810ded898831fa89a","after":null,"ref":"refs/heads/mypyc-pure-prim","pushedAt":"2024-05-19T08:58:58.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"JukkaL","name":"Jukka Lehtosalo","path":"/JukkaL","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1107911?s=80&v=4"}},{"before":"1c8346316fb8476bc12a6ba990228c96c241d619","after":"c27f4f5858035a61a32e7149c95abdb5a4660d7e","ref":"refs/heads/master","pushedAt":"2024-05-18T22:56:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"Support namedtuple.__replace__ in Python 3.13 (#17259)","shortMessageHtmlLink":"Support namedtuple.__replace__ in Python 3.13 (#17259)"}},{"before":"828c0befb4b416bc668b994e719581f55d3d2275","after":"1c8346316fb8476bc12a6ba990228c96c241d619","ref":"refs/heads/master","pushedAt":"2024-05-18T22:51:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hauntsaninja","name":"Shantanu","path":"/hauntsaninja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12621235?s=80&v=4"},"commit":{"message":"stubtest: changes for py313 (#17261)\n\nTechnically it feels like we should be able to put the new dunders on\r\n`type` or something, but that wasn't enough to make false positives go\r\naway. But also we might not want to do that because it only applies to\r\npure Python types","shortMessageHtmlLink":"stubtest: changes for py313 (#17261)"}},{"before":"12837eaedcab5352dd2e3df925b21373597762e8","after":"828c0befb4b416bc668b994e719581f55d3d2275","ref":"refs/heads/master","pushedAt":"2024-05-18T21:14:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JelleZijlstra","name":"Jelle Zijlstra","path":"/JelleZijlstra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/906600?s=80&v=4"},"commit":{"message":"Support rename=True in collections.namedtuple (#17247)\n\nA pretty marginal feature but it's now tested in the typing conformance\r\nsuite,\r\nand it was easy to add support.\r\n\r\nFor reference:\r\nhttps://github.com/python/typing/blob/9f7f400bb7c4c79f1fb938402e0bb3198dac0054/conformance/tests/namedtuples_define_functional.py#L46,\r\nhttps://github.com/python/cpython/blob/7d8725ac6f3304677d71dabdb7c184e98a62d864/Lib/collections/__init__.py#L389","shortMessageHtmlLink":"Support rename=True in collections.namedtuple (#17247)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEU7kA7QA","startCursor":null,"endCursor":null}},"title":"Activity · python/mypy"}