| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:cb8c6cab-99ea-0bba-4f7e-2896fe4049ca |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8C1A:1C605E:25D329:34E1C6:6B0068E1 |
| html-safe-nonce | 3d934c02185363db4a80f6c613e4dd351a84e66d78059a3b36667b1d08ce968b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzFBOjFDNjA1RToyNUQzMjk6MzRFMUM2OjZCMDA2OEUxIiwidmlzaXRvcl9pZCI6IjQ1MTU5MTcyMDQ1Mjg1ODkwMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | faba289637cb439101685f5764f9d5a8bb44ecd5abb6a0af82b61593bf2cde1a |
| hovercard-subject-tag | pull_request:244869938 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/6197/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/30b1ab78b45557c48a654baed2a346f1a0007b5a3ebfe1789e467573f0eed780/python/mypy/pull/6197 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30b1ab78b45557c48a654baed2a346f1a0007b5a3ebfe1789e467573f0eed780/python/mypy/pull/6197 |
| og:image:alt | If the flag --allow-redefinition is used, it's now possible to redefine a
variable with a different type. For example, this code will be okay:
x = 0 # Define 'x' with type 'int'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-cache |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/mypy/pull/6197#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F6197 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F6197 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy |
| Reload | https://github.com/python/mypy/pull/6197 |
| Reload | https://github.com/python/mypy/pull/6197 |
| Reload | https://github.com/python/mypy/pull/6197 |
| python | https://github.com/python |
| mypy | https://github.com/python/mypy |
| Code | https://github.com/python/mypy |
| Issues2.7k (2.7k) | https://github.com/python/mypy/issues |
| Pull requests543 (543) | https://github.com/python/mypy/pulls |
| Actions | https://github.com/python/mypy/actions |
| Projects | https://github.com/python/mypy/projects |
| Wiki | https://github.com/python/mypy/wiki |
| Security and quality | https://github.com/python/mypy/security |
| Insights | https://github.com/python/mypy/insights |
| https://github.com/python/mypy |
| JukkaL | https://github.com/JukkaL |
| master | https://github.com/python/mypy/tree/master |
| redefine-var | https://github.com/python/mypy/tree/redefine-var |
| Conversation | https://github.com/python/mypy/pull/6197 |
| Commits56 (56) | https://github.com/python/mypy/pull/6197/commits |
| Checks | https://github.com/python/mypy/pull/6197/checks |
| Files changed | https://github.com/python/mypy/pull/6197/files |
| Optionally allow redefinition of variable with different type | https://github.com/python/mypy/pull/6197#top |
| JukkaL | https://github.com/JukkaL |
| master | https://github.com/python/mypy/tree/master |
| redefine-var | https://github.com/python/mypy/tree/redefine-var |
|
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| Jan 15, 2019 | https://github.com/python/mypy/pull/6197#issue-399444499 |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| JukkaL | https://github.com/JukkaL |
| September 28, 2018 12:54 | https://github.com/python/mypy/pull/6197#commits-pushed-8e49664 |
|
| https://github.com/JukkaL |
| Support redefinition of local variables with a different type | https://github.com/python/mypy/pull/6197/commits/8e496645d8c64682afc3ab4dc6e0a4af1d5a2f4e |
| 8e49664 | https://github.com/python/mypy/pull/6197/commits/8e496645d8c64682afc3ab4dc6e0a4af1d5a2f4e |
|
| https://github.com/JukkaL |
| Add docstring | https://github.com/python/mypy/pull/6197/commits/3b409fc4d3b3f53cb5884d3ae9aa717c93b8671f |
| 3b409fc | https://github.com/python/mypy/pull/6197/commits/3b409fc4d3b3f53cb5884d3ae9aa717c93b8671f |
|
| https://github.com/JukkaL |
| Allow redefinitions of form "x = f(x)" | https://github.com/python/mypy/pull/6197/commits/71cb8ea1a313fab5df2c58bd519563bd6852ba44 |
| 71cb8ea | https://github.com/python/mypy/pull/6197/commits/71cb8ea1a313fab5df2c58bd519563bd6852ba44 |
|
| https://github.com/JukkaL |
| Fix special cases | https://github.com/python/mypy/pull/6197/commits/35f56ae983e744325b60026b9865818aba8eb6e5 |
| 35f56ae | https://github.com/python/mypy/pull/6197/commits/35f56ae983e744325b60026b9865818aba8eb6e5 |
|
| https://github.com/JukkaL |
| Add test cases | https://github.com/python/mypy/pull/6197/commits/2524777f1c455162165741761cbce2985191c0d0 |
| 2524777 | https://github.com/python/mypy/pull/6197/commits/2524777f1c455162165741761cbce2985191c0d0 |
|
| https://github.com/JukkaL |
| Fix redefinition with 'break' and 'continue' | https://github.com/python/mypy/pull/6197/commits/ab70d0db797f452d5e595c7e77748af2ed211fd9 |
| ab70d0d | https://github.com/python/mypy/pull/6197/commits/ab70d0db797f452d5e595c7e77748af2ed211fd9 |
|
| https://github.com/JukkaL |
| Fix issues | https://github.com/python/mypy/pull/6197/commits/525d5f480a06425a5a0c7528b5a8d71cfa89505a |
| 525d5f4 | https://github.com/python/mypy/pull/6197/commits/525d5f480a06425a5a0c7528b5a8d71cfa89505a |
|
| https://github.com/JukkaL |
| Fix some edge cases | https://github.com/python/mypy/pull/6197/commits/2c614a208198b36a07c4f815de7171f93f42f39d |
| 2c614a2 | https://github.com/python/mypy/pull/6197/commits/2c614a208198b36a07c4f815de7171f93f42f39d |
|
| https://github.com/JukkaL |
| Support top-level redefinition through renaming (WIP) | https://github.com/python/mypy/pull/6197/commits/bf2f8693e4851674d288f4ce95ebf6215f204fba |
| bf2f869 | https://github.com/python/mypy/pull/6197/commits/bf2f8693e4851674d288f4ce95ebf6215f204fba |
|
| https://github.com/JukkaL |
| Remove obsolete code | https://github.com/python/mypy/pull/6197/commits/9e2c6b8bae3886af3f4891789fa18ee029214f88 |
| 9e2c6b8 | https://github.com/python/mypy/pull/6197/commits/9e2c6b8bae3886af3f4891789fa18ee029214f88 |
|
| https://github.com/JukkaL |
| Cleanup | https://github.com/python/mypy/pull/6197/commits/2b885da6834def6a4806b6e7fb8895743966fd07 |
| 2b885da | https://github.com/python/mypy/pull/6197/commits/2b885da6834def6a4806b6e7fb8895743966fd07 |
|
| https://github.com/JukkaL |
| Merge transform code into a single class | https://github.com/python/mypy/pull/6197/commits/712669c5debfdcd622c1ce7d3fbfe367736dc287 |
| 712669c | https://github.com/python/mypy/pull/6197/commits/712669c5debfdcd622c1ce7d3fbfe367736dc287 |
|
| https://github.com/JukkaL |
| Code cleanup | https://github.com/python/mypy/pull/6197/commits/e0b7df01706478bd5531b11956a29cb19ff957a3 |
| e0b7df0 | https://github.com/python/mypy/pull/6197/commits/e0b7df01706478bd5531b11956a29cb19ff957a3 |
|
| https://github.com/JukkaL |
| Fix issues | https://github.com/python/mypy/pull/6197/commits/f153809146fba91f879a83ff79237eeccdba1f0c |
| f153809 | https://github.com/python/mypy/pull/6197/commits/f153809146fba91f879a83ff79237eeccdba1f0c |
|
| https://github.com/JukkaL |
| Fix issues | https://github.com/python/mypy/pull/6197/commits/856d401d68e54be1f2603cfb0d6b66a48849361d |
| 856d401 | https://github.com/python/mypy/pull/6197/commits/856d401d68e54be1f2603cfb0d6b66a48849361d |
|
| https://github.com/JukkaL |
| Work around type check error | https://github.com/python/mypy/pull/6197/commits/865f1dd29e437b6638977e39dd80f3969041d245 |
| 865f1dd | https://github.com/python/mypy/pull/6197/commits/865f1dd29e437b6638977e39dd80f3969041d245 |
|
| https://github.com/JukkaL |
| Merge branch 'master' into redefine-var | https://github.com/python/mypy/pull/6197/commits/2deff148ee5ff0afd035c5e6831efd53f4ed8c53 |
| 2deff14 | https://github.com/python/mypy/pull/6197/commits/2deff148ee5ff0afd035c5e6831efd53f4ed8c53 |
|
| https://github.com/JukkaL |
| Fix merge issue | https://github.com/python/mypy/pull/6197/commits/27a1e57ff8d592d584aaa5898f34b03f60b48b1b |
| 27a1e57 | https://github.com/python/mypy/pull/6197/commits/27a1e57ff8d592d584aaa5898f34b03f60b48b1b |
|
| https://github.com/JukkaL |
| Fix lint | https://github.com/python/mypy/pull/6197/commits/f04e37a70badb01a194551d62833a3c10474af1f |
| f04e37a | https://github.com/python/mypy/pull/6197/commits/f04e37a70badb01a194551d62833a3c10474af1f |
|
| https://github.com/JukkaL |
| Fix more tests | https://github.com/python/mypy/pull/6197/commits/1f9f62effa4a88751067fe5dab6666eca86bcd1d |
| 1f9f62e | https://github.com/python/mypy/pull/6197/commits/1f9f62effa4a88751067fe5dab6666eca86bcd1d |
|
| https://github.com/JukkaL |
| Rename semanal_redef -> renaming | https://github.com/python/mypy/pull/6197/commits/9ba82a9ed6b76289814c80fff33cc9d13d3f3f71 |
| 9ba82a9 | https://github.com/python/mypy/pull/6197/commits/9ba82a9ed6b76289814c80fff33cc9d13d3f3f71 |
|
| https://github.com/JukkaL |
| Only perform redefinition if variable has been read | https://github.com/python/mypy/pull/6197/commits/fbf052e201f3255fcb8b7abb7daab038f5ffb902 |
| fbf052e | https://github.com/python/mypy/pull/6197/commits/fbf052e201f3255fcb8b7abb7daab038f5ffb902 |
|
| https://github.com/JukkaL |
| A few fixes | https://github.com/python/mypy/pull/6197/commits/1116b477ee1030af9981e1251fd437db53bb6a78 |
| 1116b47 | https://github.com/python/mypy/pull/6197/commits/1116b477ee1030af9981e1251fd437db53bb6a78 |
|
| https://github.com/JukkaL |
| Add hacky workaround for 'self' | https://github.com/python/mypy/pull/6197/commits/70a3085c44d7c06cba393b7d553d927f21e9666f |
| 70a3085 | https://github.com/python/mypy/pull/6197/commits/70a3085c44d7c06cba393b7d553d927f21e9666f |
|
| https://github.com/JukkaL |
| Merge branch 'master' into redefine-var | https://github.com/python/mypy/pull/6197/commits/cfad560caaad8b7508221c0267f3c4ed5e31880b |
| cfad560 | https://github.com/python/mypy/pull/6197/commits/cfad560caaad8b7508221c0267f3c4ed5e31880b |
|
| https://github.com/JukkaL |
| Remove unused things | https://github.com/python/mypy/pull/6197/commits/b57960b4143ce248427c6871b835f39404100dfa |
| b57960b | https://github.com/python/mypy/pull/6197/commits/b57960b4143ce248427c6871b835f39404100dfa |
|
| https://github.com/JukkaL |
| Revert some unnecessary changes | https://github.com/python/mypy/pull/6197/commits/580a7742227c78a28749d4d136f9678da09ff596 |
| 580a774 | https://github.com/python/mypy/pull/6197/commits/580a7742227c78a28749d4d136f9678da09ff596 |
|
| https://github.com/JukkaL |
| Merge commit '3bea26f89a66834f42caaa90cf8db44f99d39dcc' into redefine… | https://github.com/python/mypy/pull/6197/commits/051e6954e42c04b2af74e2ab8db51c68c7a25189 |
| 051e695 | https://github.com/python/mypy/pull/6197/commits/051e6954e42c04b2af74e2ab8db51c68c7a25189 |
|
| https://github.com/JukkaL |
| Merge branch 'master' into redefine-var | https://github.com/python/mypy/pull/6197/commits/77495fb5b9308af428bb0ff5c6c7d7e13139dcbe |
| 77495fb | https://github.com/python/mypy/pull/6197/commits/77495fb5b9308af428bb0ff5c6c7d7e13139dcbe |
|
| https://github.com/JukkaL |
| Fix test case | https://github.com/python/mypy/pull/6197/commits/dc03143968bbf26ef539e56c9facfbc92470b4a7 |
| dc03143 | https://github.com/python/mypy/pull/6197/commits/dc03143968bbf26ef539e56c9facfbc92470b4a7 |
| JukkaL | https://github.com/JukkaL |
| January 17, 2019 14:22 | https://github.com/python/mypy/pull/6197#commits-pushed-fadb322 |
|
| https://github.com/JukkaL |
| Merge branch 'master' into redefine-var | https://github.com/python/mypy/pull/6197/commits/fadb32222bc085f5d381e1c8faf7422cc99c782b |
| fadb322 | https://github.com/python/mypy/pull/6197/commits/fadb32222bc085f5d381e1c8faf7422cc99c782b |
|
| https://github.com/JukkaL |
| Fix brokenness from merge | https://github.com/python/mypy/pull/6197/commits/76ad071d25108848007c63acc983c6b273ec5782 |
| 76ad071 | https://github.com/python/mypy/pull/6197/commits/76ad071d25108848007c63acc983c6b273ec5782 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Jan 17, 2019
| https://github.com/python/mypy/pull/6197#pullrequestreview-193752739 |
|
View reviewed changes
| https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| https://github.com/python/mypy/pull/6197#pullrequestreview-193752739 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| mypy/renaming.py | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248771149 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| mypy/renaming.py | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248772044 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| mypy/renaming.py | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248772494 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| mypy/renaming.py | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248772632 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| mypy/renaming.py | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248774963 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| JukkaL | https://github.com/JukkaL |
| Jan 18, 2019 | https://github.com/python/mypy/pull/6197#discussion_r249117501 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| mypy/semanal_shared.py | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-0f351ae22d890b1b7f2fdee0993280c437c36edbff3d2ca4be38292713541530 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248785603 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| mypy/semanal.py | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248786447 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| mypy/semanal.py | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248788699 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| JukkaL | https://github.com/JukkaL |
| Jan 18, 2019 | https://github.com/python/mypy/pull/6197#discussion_r249117962 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| test-data/unit/check-final.test | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-f4872f5865881c8964f6166a87c1c3aa1cc120e27cfdb8c050b547cf4282de47 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248792329 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| JukkaL | https://github.com/JukkaL |
| Jan 18, 2019 | https://github.com/python/mypy/pull/6197#discussion_r249118018 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| test-data/unit/check-redefine.test | https://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-f258b3b77d5328cb1a2461e883be36ae095986f0bc4eb2d5d113daaf001cb86a |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jan 17, 2019 | https://github.com/python/mypy/pull/6197#discussion_r248800101 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| JukkaL | https://github.com/JukkaL |
| Jan 18, 2019 | https://github.com/python/mypy/pull/6197#discussion_r249118053 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| JukkaL | https://github.com/JukkaL |
| January 18, 2019 11:37 | https://github.com/python/mypy/pull/6197#commits-pushed-979a17c |
|
| https://github.com/JukkaL |
| Respond to review | https://github.com/python/mypy/pull/6197/commits/979a17cbad292d07290b2af5d868984e969872db |
| 979a17c | https://github.com/python/mypy/pull/6197/commits/979a17cbad292d07290b2af5d868984e969872db |
|
| https://github.com/JukkaL |
| Clarify code | https://github.com/python/mypy/pull/6197/commits/ae0043f673429dc564528af08e8773fea66d58c2 |
| ae0043f | https://github.com/python/mypy/pull/6197/commits/ae0043f673429dc564528af08e8773fea66d58c2 |
|
| https://github.com/JukkaL |
| Test additional special case | https://github.com/python/mypy/pull/6197/commits/512c1edbae62eb6875990e5f66ab6c7ee2eec0e8 |
| 512c1ed | https://github.com/python/mypy/pull/6197/commits/512c1edbae62eb6875990e5f66ab6c7ee2eec0e8 |
|
| https://github.com/JukkaL |
| Add test case | https://github.com/python/mypy/pull/6197/commits/1f7e36d60e10652f4e3e33398cc501e8800ce168 |
| 1f7e36d | https://github.com/python/mypy/pull/6197/commits/1f7e36d60e10652f4e3e33398cc501e8800ce168 |
|
| https://github.com/JukkaL |
| Fix with statements | https://github.com/python/mypy/pull/6197/commits/72043ae645ca0f2be426a4b9d0d518e6acd2db1a |
| 72043ae | https://github.com/python/mypy/pull/6197/commits/72043ae645ca0f2be426a4b9d0d518e6acd2db1a |
|
| https://github.com/JukkaL |
| Remove unnecessary check | https://github.com/python/mypy/pull/6197/commits/8c30c90a45b7e069cf005d2f507c0b680c46888c |
| 8c30c90 | https://github.com/python/mypy/pull/6197/commits/8c30c90a45b7e069cf005d2f507c0b680c46888c |
|
| https://github.com/JukkaL |
| Add comment | https://github.com/python/mypy/pull/6197/commits/e390f3872e9e62f2e98d371b79c9d77beb60638e |
| e390f38 | https://github.com/python/mypy/pull/6197/commits/e390f3872e9e62f2e98d371b79c9d77beb60638e |
|
| https://github.com/JukkaL |
| Ensure renaming cannot happen across scopes in class | https://github.com/python/mypy/pull/6197/commits/bc0ee196c5ecd4d53593f2c9099a92be72fbcb8e |
| bc0ee19 | https://github.com/python/mypy/pull/6197/commits/bc0ee196c5ecd4d53593f2c9099a92be72fbcb8e |
|
| https://github.com/JukkaL |
| Remove unnecessary call | https://github.com/python/mypy/pull/6197/commits/54b86d8c2374d123f5ad4d024d2519729542b4ff |
| 54b86d8 | https://github.com/python/mypy/pull/6197/commits/54b86d8c2374d123f5ad4d024d2519729542b4ff |
|
| https://github.com/JukkaL |
| The final assignments takes precedence in class when renaming | https://github.com/python/mypy/pull/6197/commits/496d2ddb1bc7a21c1bfb299e0e7f241d80368e9c |
| 496d2dd | https://github.com/python/mypy/pull/6197/commits/496d2ddb1bc7a21c1bfb299e0e7f241d80368e9c |
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| Jan 18, 2019 | https://github.com/python/mypy/pull/6197#issuecomment-455619481 |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Jan 18, 2019
| https://github.com/python/mypy/pull/6197#pullrequestreview-194287673 |
|
View reviewed changes
| https://github.com/python/mypy/pull/6197/files/496d2ddb1bc7a21c1bfb299e0e7f241d80368e9c |
| ilevkivskyi | https://github.com/ilevkivskyi |
| https://github.com/python/mypy/pull/6197#pullrequestreview-194287673 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| d2f1d34 | https://github.com/python/mypy/commit/d2f1d34a347cf3d7b1e14338bfc2c1ca00d15d27 |
| Jan 21, 2019 | https://github.com/python/mypy/pull/6197#event-2086209706 |
|
Mypy errors with variable reuse with different types
#1174
| https://github.com/python/mypy/issues/1174 |
|
Unmangle names consistently when using --allow-redefinition
#6229
| https://github.com/python/mypy/issues/6229 |
|
Document --allow-redefinition
#6230
| https://github.com/python/mypy/issues/6230 |
|
Use type context from previous definition when renaming
#6231
| https://github.com/python/mypy/issues/6231 |
|
Allow variable redefinition if lifetimes don't overlap
#6232
| https://github.com/python/mypy/issues/6232 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| January 21, 2019 16:09 | https://github.com/python/mypy/pull/6197#event-2086795972 |
| https://github.com/WillAyd |
| WillAyd | https://github.com/WillAyd |
|
Sep 16, 2019
| https://github.com/python/mypy/pull/6197#ref-pullrequest-484868913 |
|
Add Indent Support in to_json
pandas-dev/pandas#28130
| https://github.com/pandas-dev/pandas/pull/28130 |
| https://github.com/neighthan |
| neighthan | https://github.com/neighthan |
| Mar 25, 2020 | https://github.com/python/mypy/pull/6197#issuecomment-604068915 |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| https://github.com/oakkitten |
| oakkitten | https://github.com/oakkitten |
| Apr 25, 2020 | https://github.com/python/mypy/pull/6197#issuecomment-619449132 |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| https://github.com/mpharrigan |
| mpharrigan | https://github.com/mpharrigan |
|
Feb 18, 2021
| https://github.com/python/mypy/pull/6197#ref-issue-811324093 |
|
Consider --allow-redefinition for mypy
quantumlib/Cirq#3832
| https://github.com/quantumlib/Cirq/issues/3832 |
| https://github.com/saaketp |
| saaketp | https://github.com/saaketp |
|
Apr 15, 2021
| https://github.com/python/mypy/pull/6197#ref-issue-681287447 |
|
Support changing a variable's type
microsoft/pylance-release#257
| https://github.com/microsoft/pylance-release/issues/257 |
| https://github.com/avylove |
| avylove | https://github.com/avylove |
|
Jan 6, 2025
| https://github.com/python/mypy/pull/6197#ref-issue-798558886 |
|
Feature: Del erases types
#10005
| https://github.com/python/mypy/issues/10005 |
| https://github.com/ondras12345 |
| ondras12345 | https://github.com/ondras12345 |
|
Jul 12, 2025
| https://github.com/python/mypy/pull/6197#ref-pullrequest-3224007942 |
|
ModelicaSystem - remove xml_file as class variable
OpenModelica/OMPython#321
| https://github.com/OpenModelica/OMPython/pull/321 |
| https://github.com/matusvalo |
| matusvalo | https://github.com/matusvalo |
|
Oct 23, 2025
| https://github.com/python/mypy/pull/6197#ref-issue-3538002413 |
|
[ENH] Handle properly redeclaration of variable in pure python mode
cython/cython#7246
| https://github.com/cython/cython/issues/7246 |
| https://github.co/hiddenchars |
| https://github.com/python/mypy/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F6197 |
|
| https://github.com/ilevkivskyi |
|
ilevkivskyi
| https://github.com/ilevkivskyi |
|
| https://github.com/python/mypy/pull/6197/files/496d2ddb1bc7a21c1bfb299e0e7f241d80368e9c |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
| Please reload this page | https://github.com/python/mypy/pull/6197 |
|
| https://github.com/JukkaL |
|
| https://github.com/neighthan |
|
| https://github.com/oakkitten |
|
| https://github.com/ilevkivskyi |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |