René's URL Explorer Experiment


Title: Optionally allow redefinition of variable with different type by JukkaL · Pull Request #6197 · python/mypy · GitHub

Open Graph Title: Optionally allow redefinition of variable with different type by JukkaL · Pull Request #6197 · python/mypy

X Title: Optionally allow redefinition of variable with different type by JukkaL · Pull Request #6197 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: 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'...

X Description: 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 ...

Opengraph URL: https://github.com/python/mypy/pull/6197

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:cb8c6cab-99ea-0bba-4f7e-2896fe4049ca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C1A:1C605E:25D329:34E1C6:6B0068E1
html-safe-nonce3d934c02185363db4a80f6c613e4dd351a84e66d78059a3b36667b1d08ce968b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzFBOjFDNjA1RToyNUQzMjk6MzRFMUM2OjZCMDA2OEUxIiwidmlzaXRvcl9pZCI6IjQ1MTU5MTcyMDQ1Mjg1ODkwMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfaba289637cb439101685f5764f9d5a8bb44ecd5abb6a0af82b61593bf2cde1a
hovercard-subject-tagpull_request:244869938
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/6197/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/30b1ab78b45557c48a654baed2a346f1a0007b5a3ebfe1789e467573f0eed780/python/mypy/pull/6197
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/30b1ab78b45557c48a654baed2a346f1a0007b5a3ebfe1789e467573f0eed780/python/mypy/pull/6197
og:image:altIf 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJukkaL
hostnamegithub.com
expected-hostnamegithub.com
None6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/6197#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F6197
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F6197
Sign uphttps://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
Reloadhttps://github.com/python/mypy/pull/6197
Reloadhttps://github.com/python/mypy/pull/6197
Reloadhttps://github.com/python/mypy/pull/6197
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests543 (543)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
JukkaLhttps://github.com/JukkaL
masterhttps://github.com/python/mypy/tree/master
redefine-varhttps://github.com/python/mypy/tree/redefine-var
Conversationhttps://github.com/python/mypy/pull/6197
Commits56 (56)https://github.com/python/mypy/pull/6197/commits
Checkshttps://github.com/python/mypy/pull/6197/checks
Files changedhttps://github.com/python/mypy/pull/6197/files
Optionally allow redefinition of variable with different typehttps://github.com/python/mypy/pull/6197#top
JukkaLhttps://github.com/JukkaL
masterhttps://github.com/python/mypy/tree/master
redefine-varhttps://github.com/python/mypy/tree/redefine-var
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jan 15, 2019https://github.com/python/mypy/pull/6197#issue-399444499
Please reload this pagehttps://github.com/python/mypy/pull/6197
JukkaLhttps://github.com/JukkaL
September 28, 2018 12:54https://github.com/python/mypy/pull/6197#commits-pushed-8e49664
https://github.com/JukkaL
Support redefinition of local variables with a different typehttps://github.com/python/mypy/pull/6197/commits/8e496645d8c64682afc3ab4dc6e0a4af1d5a2f4e
8e49664https://github.com/python/mypy/pull/6197/commits/8e496645d8c64682afc3ab4dc6e0a4af1d5a2f4e
https://github.com/JukkaL
Add docstringhttps://github.com/python/mypy/pull/6197/commits/3b409fc4d3b3f53cb5884d3ae9aa717c93b8671f
3b409fchttps://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
71cb8eahttps://github.com/python/mypy/pull/6197/commits/71cb8ea1a313fab5df2c58bd519563bd6852ba44
https://github.com/JukkaL
Fix special caseshttps://github.com/python/mypy/pull/6197/commits/35f56ae983e744325b60026b9865818aba8eb6e5
35f56aehttps://github.com/python/mypy/pull/6197/commits/35f56ae983e744325b60026b9865818aba8eb6e5
https://github.com/JukkaL
Add test caseshttps://github.com/python/mypy/pull/6197/commits/2524777f1c455162165741761cbce2985191c0d0
2524777https://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
ab70d0dhttps://github.com/python/mypy/pull/6197/commits/ab70d0db797f452d5e595c7e77748af2ed211fd9
https://github.com/JukkaL
Fix issueshttps://github.com/python/mypy/pull/6197/commits/525d5f480a06425a5a0c7528b5a8d71cfa89505a
525d5f4https://github.com/python/mypy/pull/6197/commits/525d5f480a06425a5a0c7528b5a8d71cfa89505a
https://github.com/JukkaL
Fix some edge caseshttps://github.com/python/mypy/pull/6197/commits/2c614a208198b36a07c4f815de7171f93f42f39d
2c614a2https://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
bf2f869https://github.com/python/mypy/pull/6197/commits/bf2f8693e4851674d288f4ce95ebf6215f204fba
https://github.com/JukkaL
Remove obsolete codehttps://github.com/python/mypy/pull/6197/commits/9e2c6b8bae3886af3f4891789fa18ee029214f88
9e2c6b8https://github.com/python/mypy/pull/6197/commits/9e2c6b8bae3886af3f4891789fa18ee029214f88
https://github.com/JukkaL
Cleanuphttps://github.com/python/mypy/pull/6197/commits/2b885da6834def6a4806b6e7fb8895743966fd07
2b885dahttps://github.com/python/mypy/pull/6197/commits/2b885da6834def6a4806b6e7fb8895743966fd07
https://github.com/JukkaL
Merge transform code into a single classhttps://github.com/python/mypy/pull/6197/commits/712669c5debfdcd622c1ce7d3fbfe367736dc287
712669chttps://github.com/python/mypy/pull/6197/commits/712669c5debfdcd622c1ce7d3fbfe367736dc287
https://github.com/JukkaL
Code cleanuphttps://github.com/python/mypy/pull/6197/commits/e0b7df01706478bd5531b11956a29cb19ff957a3
e0b7df0https://github.com/python/mypy/pull/6197/commits/e0b7df01706478bd5531b11956a29cb19ff957a3
https://github.com/JukkaL
Fix issueshttps://github.com/python/mypy/pull/6197/commits/f153809146fba91f879a83ff79237eeccdba1f0c
f153809https://github.com/python/mypy/pull/6197/commits/f153809146fba91f879a83ff79237eeccdba1f0c
https://github.com/JukkaL
Fix issueshttps://github.com/python/mypy/pull/6197/commits/856d401d68e54be1f2603cfb0d6b66a48849361d
856d401https://github.com/python/mypy/pull/6197/commits/856d401d68e54be1f2603cfb0d6b66a48849361d
https://github.com/JukkaL
Work around type check errorhttps://github.com/python/mypy/pull/6197/commits/865f1dd29e437b6638977e39dd80f3969041d245
865f1ddhttps://github.com/python/mypy/pull/6197/commits/865f1dd29e437b6638977e39dd80f3969041d245
https://github.com/JukkaL
Merge branch 'master' into redefine-varhttps://github.com/python/mypy/pull/6197/commits/2deff148ee5ff0afd035c5e6831efd53f4ed8c53
2deff14https://github.com/python/mypy/pull/6197/commits/2deff148ee5ff0afd035c5e6831efd53f4ed8c53
https://github.com/JukkaL
Fix merge issuehttps://github.com/python/mypy/pull/6197/commits/27a1e57ff8d592d584aaa5898f34b03f60b48b1b
27a1e57https://github.com/python/mypy/pull/6197/commits/27a1e57ff8d592d584aaa5898f34b03f60b48b1b
https://github.com/JukkaL
Fix linthttps://github.com/python/mypy/pull/6197/commits/f04e37a70badb01a194551d62833a3c10474af1f
f04e37ahttps://github.com/python/mypy/pull/6197/commits/f04e37a70badb01a194551d62833a3c10474af1f
https://github.com/JukkaL
Fix more testshttps://github.com/python/mypy/pull/6197/commits/1f9f62effa4a88751067fe5dab6666eca86bcd1d
1f9f62ehttps://github.com/python/mypy/pull/6197/commits/1f9f62effa4a88751067fe5dab6666eca86bcd1d
https://github.com/JukkaL
Rename semanal_redef -> renaminghttps://github.com/python/mypy/pull/6197/commits/9ba82a9ed6b76289814c80fff33cc9d13d3f3f71
9ba82a9https://github.com/python/mypy/pull/6197/commits/9ba82a9ed6b76289814c80fff33cc9d13d3f3f71
https://github.com/JukkaL
Only perform redefinition if variable has been readhttps://github.com/python/mypy/pull/6197/commits/fbf052e201f3255fcb8b7abb7daab038f5ffb902
fbf052ehttps://github.com/python/mypy/pull/6197/commits/fbf052e201f3255fcb8b7abb7daab038f5ffb902
https://github.com/JukkaL
A few fixeshttps://github.com/python/mypy/pull/6197/commits/1116b477ee1030af9981e1251fd437db53bb6a78
1116b47https://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
70a3085https://github.com/python/mypy/pull/6197/commits/70a3085c44d7c06cba393b7d553d927f21e9666f
https://github.com/JukkaL
Merge branch 'master' into redefine-varhttps://github.com/python/mypy/pull/6197/commits/cfad560caaad8b7508221c0267f3c4ed5e31880b
cfad560https://github.com/python/mypy/pull/6197/commits/cfad560caaad8b7508221c0267f3c4ed5e31880b
https://github.com/JukkaL
Remove unused thingshttps://github.com/python/mypy/pull/6197/commits/b57960b4143ce248427c6871b835f39404100dfa
b57960bhttps://github.com/python/mypy/pull/6197/commits/b57960b4143ce248427c6871b835f39404100dfa
https://github.com/JukkaL
Revert some unnecessary changeshttps://github.com/python/mypy/pull/6197/commits/580a7742227c78a28749d4d136f9678da09ff596
580a774https://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
051e695https://github.com/python/mypy/pull/6197/commits/051e6954e42c04b2af74e2ab8db51c68c7a25189
https://github.com/JukkaL
Merge branch 'master' into redefine-varhttps://github.com/python/mypy/pull/6197/commits/77495fb5b9308af428bb0ff5c6c7d7e13139dcbe
77495fbhttps://github.com/python/mypy/pull/6197/commits/77495fb5b9308af428bb0ff5c6c7d7e13139dcbe
https://github.com/JukkaL
Fix test casehttps://github.com/python/mypy/pull/6197/commits/dc03143968bbf26ef539e56c9facfbc92470b4a7
dc03143https://github.com/python/mypy/pull/6197/commits/dc03143968bbf26ef539e56c9facfbc92470b4a7
JukkaLhttps://github.com/JukkaL
January 17, 2019 14:22https://github.com/python/mypy/pull/6197#commits-pushed-fadb322
https://github.com/JukkaL
Merge branch 'master' into redefine-varhttps://github.com/python/mypy/pull/6197/commits/fadb32222bc085f5d381e1c8faf7422cc99c782b
fadb322https://github.com/python/mypy/pull/6197/commits/fadb32222bc085f5d381e1c8faf7422cc99c782b
https://github.com/JukkaL
Fix brokenness from mergehttps://github.com/python/mypy/pull/6197/commits/76ad071d25108848007c63acc983c6b273ec5782
76ad071https://github.com/python/mypy/pull/6197/commits/76ad071d25108848007c63acc983c6b273ec5782
https://github.com/ilevkivskyi
ilevkivskyihttps://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
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/6197#pullrequestreview-193752739
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
mypy/renaming.pyhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248771149
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
mypy/renaming.pyhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248772044
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
mypy/renaming.pyhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248772494
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
mypy/renaming.pyhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248772632
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
mypy/renaming.pyhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-a0cbd708db24512f4d3975740ac9fa9de8c4366395980a4216d0001c6945a0f2
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248774963
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
JukkaLhttps://github.com/JukkaL
Jan 18, 2019https://github.com/python/mypy/pull/6197#discussion_r249117501
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
mypy/semanal_shared.pyhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-0f351ae22d890b1b7f2fdee0993280c437c36edbff3d2ca4be38292713541530
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248785603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
mypy/semanal.pyhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248786447
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
mypy/semanal.pyhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248788699
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
JukkaLhttps://github.com/JukkaL
Jan 18, 2019https://github.com/python/mypy/pull/6197#discussion_r249117962
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
test-data/unit/check-final.testhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-f4872f5865881c8964f6166a87c1c3aa1cc120e27cfdb8c050b547cf4282de47
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248792329
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
JukkaLhttps://github.com/JukkaL
Jan 18, 2019https://github.com/python/mypy/pull/6197#discussion_r249118018
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
test-data/unit/check-redefine.testhttps://github.com/python/mypy/pull/6197/files/76ad071d25108848007c63acc983c6b273ec5782#diff-f258b3b77d5328cb1a2461e883be36ae095986f0bc4eb2d5d113daaf001cb86a
ilevkivskyihttps://github.com/ilevkivskyi
Jan 17, 2019https://github.com/python/mypy/pull/6197#discussion_r248800101
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
JukkaLhttps://github.com/JukkaL
Jan 18, 2019https://github.com/python/mypy/pull/6197#discussion_r249118053
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
JukkaLhttps://github.com/JukkaL
January 18, 2019 11:37https://github.com/python/mypy/pull/6197#commits-pushed-979a17c
https://github.com/JukkaL
Respond to reviewhttps://github.com/python/mypy/pull/6197/commits/979a17cbad292d07290b2af5d868984e969872db
979a17chttps://github.com/python/mypy/pull/6197/commits/979a17cbad292d07290b2af5d868984e969872db
https://github.com/JukkaL
Clarify codehttps://github.com/python/mypy/pull/6197/commits/ae0043f673429dc564528af08e8773fea66d58c2
ae0043fhttps://github.com/python/mypy/pull/6197/commits/ae0043f673429dc564528af08e8773fea66d58c2
https://github.com/JukkaL
Test additional special casehttps://github.com/python/mypy/pull/6197/commits/512c1edbae62eb6875990e5f66ab6c7ee2eec0e8
512c1edhttps://github.com/python/mypy/pull/6197/commits/512c1edbae62eb6875990e5f66ab6c7ee2eec0e8
https://github.com/JukkaL
Add test casehttps://github.com/python/mypy/pull/6197/commits/1f7e36d60e10652f4e3e33398cc501e8800ce168
1f7e36dhttps://github.com/python/mypy/pull/6197/commits/1f7e36d60e10652f4e3e33398cc501e8800ce168
https://github.com/JukkaL
Fix with statementshttps://github.com/python/mypy/pull/6197/commits/72043ae645ca0f2be426a4b9d0d518e6acd2db1a
72043aehttps://github.com/python/mypy/pull/6197/commits/72043ae645ca0f2be426a4b9d0d518e6acd2db1a
https://github.com/JukkaL
Remove unnecessary checkhttps://github.com/python/mypy/pull/6197/commits/8c30c90a45b7e069cf005d2f507c0b680c46888c
8c30c90https://github.com/python/mypy/pull/6197/commits/8c30c90a45b7e069cf005d2f507c0b680c46888c
https://github.com/JukkaL
Add commenthttps://github.com/python/mypy/pull/6197/commits/e390f3872e9e62f2e98d371b79c9d77beb60638e
e390f38https://github.com/python/mypy/pull/6197/commits/e390f3872e9e62f2e98d371b79c9d77beb60638e
https://github.com/JukkaL
Ensure renaming cannot happen across scopes in classhttps://github.com/python/mypy/pull/6197/commits/bc0ee196c5ecd4d53593f2c9099a92be72fbcb8e
bc0ee19https://github.com/python/mypy/pull/6197/commits/bc0ee196c5ecd4d53593f2c9099a92be72fbcb8e
https://github.com/JukkaL
Remove unnecessary callhttps://github.com/python/mypy/pull/6197/commits/54b86d8c2374d123f5ad4d024d2519729542b4ff
54b86d8https://github.com/python/mypy/pull/6197/commits/54b86d8c2374d123f5ad4d024d2519729542b4ff
https://github.com/JukkaL
The final assignments takes precedence in class when renaminghttps://github.com/python/mypy/pull/6197/commits/496d2ddb1bc7a21c1bfb299e0e7f241d80368e9c
496d2ddhttps://github.com/python/mypy/pull/6197/commits/496d2ddb1bc7a21c1bfb299e0e7f241d80368e9c
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jan 18, 2019https://github.com/python/mypy/pull/6197#issuecomment-455619481
Please reload this pagehttps://github.com/python/mypy/pull/6197
https://github.com/ilevkivskyi
ilevkivskyihttps://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
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/6197#pullrequestreview-194287673
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6197
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
d2f1d34https://github.com/python/mypy/commit/d2f1d34a347cf3d7b1e14338bfc2c1ca00d15d27
Jan 21, 2019https://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
gvanrossumhttps://github.com/gvanrossum
January 21, 2019 16:09https://github.com/python/mypy/pull/6197#event-2086795972
https://github.com/WillAyd
WillAydhttps://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
neighthanhttps://github.com/neighthan
Mar 25, 2020https://github.com/python/mypy/pull/6197#issuecomment-604068915
Please reload this pagehttps://github.com/python/mypy/pull/6197
https://github.com/oakkitten
oakkittenhttps://github.com/oakkitten
Apr 25, 2020https://github.com/python/mypy/pull/6197#issuecomment-619449132
Please reload this pagehttps://github.com/python/mypy/pull/6197
https://github.com/mpharrigan
mpharriganhttps://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
saaketphttps://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
avylovehttps://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
ondras12345https://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
matusvalohttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/python/mypy/pull/6197
Please reload this pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.