René's URL Explorer Experiment


Title: Yield from by rockneurotiko · Pull Request #367 · python/mypy · GitHub

Open Graph Title: Yield from by rockneurotiko · Pull Request #367 · python/mypy

X Title: Yield from by rockneurotiko · Pull Request #367 · python/mypy

Description: This is a text to explain how yield from works, and why I took some decisions :-) (In the commits, are so much "white lines" changed, that's because in the original source code are lines with just spaces, or spaces at the end of the line, and my editor (Subl3) remove that) Yield From yield from can be applied to Iterables and Futures (A kind of Iterable). And can be applied in two ways: Statement: def h(): yield from x() Expression: def h(): y = yield from x() About Iterables: Statement: Check if the return type of the function is an iterable and the infered of the iterable applied is compatible with the return type. Ex: def h() -> Iterator[int]: yield from [1, 2, 3] # Here, List is an Iterable, and have ints inside. x = h() # the type will be Iterator[int] for i in x: print(i) In the example above, the function return a Iterator of ints, that is a supertype of Iterable. Here another example with a function Iterator: def h() -> Iterator[int]: yield from h2() def h2() -> Iterator[int]: yield 1 yield 2 yield 3 x = h() # the type will be Iterator[int] for i in x: print(i) Expression: Right now just checks if the applied is an Iterable. In the future, when other things are added to mypy, here should check the return type, and check the types (just like in statement). The things that mypy needs to add this to the expression type check: Function with yields have a return. def h() -> Iterator[int]: yield 1 return 2 # Here now fail, but this is a valid syntax def h2() -> Iterator[int]: x = yield from h() # Here when iterate will send the h() iterator # and when the iterator is finished, # will get the return value in x yield statement can be an expression assignment. def h() -> Iterator[int]: y = yield 1 This two things have interaction with the new send(), close() and throw() method of the iterables (this should have added too) About Futures. I said that Futures are a "kind" of iterables, because it have an iter function but we never iterate over there (we just can do one next(), if try to do any more raises an error). The main loop will catch the futures that had been "yielded from" or that are inserted directly (call_soon, run_until_complete, ...) So, the idea that I had to write the Future type, and that I've implemented is that one: Future type is writed like Iterator: 'Future[Some]' But also can be a instance, but have to say the type inside: x = Future() # type: Future[int] If the function have a Future type as type returned, that function can be "yielded from". If a function have the @coroutine decorator, or "yield from" a Future inside, then, that function can be "yielded from", and the type must be 'Future[Some]'. You can always return 'Some', and will be wrapped inside a Future type. (Examples after) When yield from a 'Future[Some]', the type returned to a variable assignment will be 'Some', and not the 'Future[Some]'. Right here an example, using asyncio.sleep(float, T), that have this return type: 'Future[T]': x = asyncio.sleep(100, '1') # the function will return the type:'Future[str]' # (and x will be of that type) # won't sleep (just called, not "yielded from", # but we doesn't care about that) y = yield from x # 'x' is a 'Future[str]',and we do a "yield from" to it # so, 'y' will be 'str' type (take out the Future) # (When executed the code, will sleep here, because we # give the future to the main loop and execute it) So, if "yield from" is applied to a Future, we won't get it (the loop will). But if we wan't to do a function that can be "yielded from" (this is called coroutine), then the function need to have the return type as Future[Some], and the @asyncio.coroutine decorator (this is explained after) Statement: We just don't care about it, we won't get the Future, the loop will, so we don't need to check anything. Ex: @asyncio.coroutine def h() -> 'Future[int]': yield from asyncio.sleep(2) return 1 We set the return type as Future[int] because we want to let know that this is a coroutine and can be yielded from but, also, that will return an int. If you do: "y = yield from h()", the program will sleep 2 seconds, and then y will be 1 (the return value). Actually, if you just call the function, and not "yield from" it, you will have a generator (but can't iterate over there, that raises an exception) y = yield from h() # type: int # this is infered z = h() # type: Future[int] # this is infered too # now you can "yield from z" because it's a Future for i in z: # This raises an exception, we can't iterate print(i) Expression: When we check the expression yield from, if we see that the type applied is a Future[Some], then, the type to return (to assignment_stmt) won't be Future[Some], instead of that, we'll return the type Some, because, as said, the Future is just for know where are a coroutine, or where can be "yielded from", but in the assignment expression, the variable get the type returned, not the Future. Ex: @asyncio.coroutine # say that is a coroutine def h() -> 'Future[str]': # this will be a future, so must be yielded from # and is a coroutine too return 'hello!' # Here we return a str, but see that # is a coroutine, and will wrap the # str in a Future[str] @asyncio.coroutine def h2() -> 'Future[None]': x = yield from h() # Here, we can yield from because h is a Future, # but 'x' won't be 'Future[str]', it will # be str print(x) Other things of Futures Can I "yield from" a func?. If the function returns Future[Some], yes, you can. How wrap the return type into a Future in a function. The @asyncio.coroutine decorator or yield from a Future is needed, when some of that happens, the function is setted as coroutine, and the return type will try to wrap it in a Future. Count how many "Futures" have the function return type against the type returned, and if the difference is up to one, will wrap the type returned. Ex: def h() -> Future[int]: return 1 # Here, the difference of "Futures" is one, so the # int returned will be wrapped # inside a Future as Future[int] def h() -> Future[int]: return asyncio.Future() # type: Future[int] # Here nothing is wrapped because the difference is 0 # but the type check will fail, because the first # Future[] of the return type is removed when "yielded from" # so, that function would need another Future[] in the function type def h() -> Future[int]: a = asyncio.Future() # type: Future[Future[int]] return a # Here nothing is wrapped, but the type check will fail # because a Future with an int was expected # and a Future with a Future was given. The Future type used comes from asyncio.futures.Future, and the type definition is in "stubs/3.4/asyncio/futures.py" so, you will need to do "from asyncio import Future", or use "asyncio.Future" instead of "Future". For that reason, the type have to be writted as string ( 'Future[int]' ), if it's not writted in that way, the script will fail when try to run it, because the real Future type is not subscritable. I think that in the future, can be a type in "typing", called Futur or some like that, to can write the type without the string. Because of that (Future comes from asyncio), now the tests to Futures can't be written (fails trying to import all things) Anyway, in stubs/3.4/asyncio I added a directory called "examples" where are so much examples about Futures. What if I want a Future that have a Future inside, that have a Future inside, ...? You have to do it like if you have a Iterator that return an Iterator, ...: from typing import Iterator def h4(x: int) -> Iterator[int]: yield x yield x+1 def h3(x: int) -> Iterator[Iterator[int]]: yield h4(x) yield h4(x+2) def h() -> Iterator[Iterator[Iterator[int]]]: yield h3(1) yield h3(5) x = h() for i in x: # First Iterator for j in i: # Second Iterator for k in j: # Third Iterator print(k) # Here get the ints But with Futures! import typing import asyncio from asyncio import Future @asyncio.coroutine def h4() -> 'Future[Future[int]]': """ Return a Future[int], and have one more Future anotation saying that can be "yielded from". """ yield from asyncio.sleep(1) # Just to wait a little bit :) f = asyncio.Future() #type: Future[int] return f # Here Future[int] is wrapped in Future[Future[int]] @asyncio.coroutine def h3() -> 'Future[Future[Future[int]]]': """ Same as h4() but with one more Future :P """ x = yield from h4() # Get the Future[int] of h4() x.set_result(42) # set 42 as result f = asyncio.Future() #type: Future[Future[int]] # Create a new Future f.set_result(x) # set the result as the Future taked from h4 return f # return it @asyncio.coroutine def h() -> 'Future[None]': print("Before") x = yield from h3() # Get the Future[Future[int]] from h3() y = yield from x # Get the Future[int] from the Future[Future[int]] z = yield from y # Get the int from the Future[int] print(z) # Prints 42 print(y) # Prints Future print(x) # Prints Future> loop = asyncio.get_event_loop() loop.run_until_complete(h()) loop.close() Summary To say that a function can be "yielded from", the return type need to have a Future[Some] The first Future of the type, is just to indicate that can be yielded from, so, if you are going to return an int, the type of the function is Future[int] and if you are going to return a Future that have inside an int, the type of the function is: Future[Future[int]] The type in the function have to be writted in string. def h() -> 'Future[None]': pass See all the examples in "stubs/3.4/asyncio/examples"

Open Graph Description: This is a text to explain how yield from works, and why I took some decisions :-) (In the commits, are so much "white lines" changed, that's because in the original source code are li...

X Description: This is a text to explain how yield from works, and why I took some decisions :-) (In the commits, are so much "white lines" changed, that's because in the original source...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d7e73a58-eee3-6364-4ac7-0b68a00620db
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idED76:2A02D3:4EEA61:6D3738:6B0093C3
html-safe-nonce3f2a0eec764a543ff78f75d25d172bc217b7389d8753ea91f086439a7f8da000
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDc2OjJBMDJEMzo0RUVBNjE6NkQzNzM4OjZCMDA5M0MzIiwidmlzaXRvcl9pZCI6IjM4MTk2NDYzODUyOTMxMzY4MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca2b6754f7c676ee37e1bb00904563833bd422a22d1bccf1cdd75208fbd4e321d
hovercard-subject-tagpull_request:19564933
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/mypy/pull/367/files
twitter:imagehttps://avatars.githubusercontent.com/u/1377584?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1377584?s=400&v=4
og:image:altThis is a text to explain how yield from works, and why I took some decisions :-) (In the commits, are so much "white lines" changed, that's because in the original source code are li...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebe616a2a6ec1c609d6e002896dff5352d5c5f28b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/367/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F367%2Ffiles
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%2F367%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/367/files
Reloadhttps://github.com/python/mypy/pull/367/files
Reloadhttps://github.com/python/mypy/pull/367/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fmypy%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fmypy%2Fissues%2Fnew%2Fchoose
JukkaLhttps://github.com/JukkaL
python:masterhttps://github.com/python/mypy/tree/master
rockneurotiko:semantic_yield_fromhttps://github.com/rockneurotiko/mypy/tree/semantic_yield_from
Conversation 15 https://github.com/python/mypy/pull/367
Commits 16 https://github.com/python/mypy/pull/367/commits
Checks 0 https://github.com/python/mypy/pull/367/checks
Files changed https://github.com/python/mypy/pull/367/files
Please reload this pagehttps://github.com/python/mypy/pull/367/files
Yield from https://github.com/python/mypy/pull/367/files#top
Show all changes 16 commits https://github.com/python/mypy/pull/367/files
a84fb96 Yield from statements and expressions support. rockneurotiko Jul 28, 2014 https://github.com/python/mypy/pull/367/commits/a84fb9625ef31240faa7a838dddc00a6a2d8b314
581491e First steps to the yield from expr rockneurotiko Jul 28, 2014 https://github.com/python/mypy/pull/367/commits/581491e9749af3d526bd532bb59b89ad6d692fae
fa64f90 Add YieldFromExpr class and the visitors. Change return to check if i… rockneurotiko Jul 29, 2014 https://github.com/python/mypy/pull/367/commits/fa64f905b4b1c4e081a783399df6952c931ebbc0
51a5eac Add YieldFromExpr class and the visitors. Change return to check if i… rockneurotiko Jul 29, 2014 https://github.com/python/mypy/pull/367/commits/51a5eac741068b01521088921f8263043c1beca1
5512327 Errors Correct rockneurotiko Jul 30, 2014 https://github.com/python/mypy/pull/367/commits/55123279f8534bf8e2cf5cc6e037e4a5ab69d053
873b1e5 Yield from stmt and expr wit type checks rockneurotiko Aug 9, 2014 https://github.com/python/mypy/pull/367/commits/873b1e5243e127e2c3a97d0aa7cedd00df0a4c8e
cdd4614 Merge to do a clean pull_request rockneurotiko Aug 9, 2014 https://github.com/python/mypy/pull/367/commits/cdd4614ebbd24f2f3759c8321a03ad326982b455
7928d77 Add fail if the difference of Futures are 0 rockneurotiko Aug 9, 2014 https://github.com/python/mypy/pull/367/commits/7928d772becf73ca67b5d339e24b18496423b6fe
3f8ca88 first merge from upstream rockneurotiko Sep 15, 2014 https://github.com/python/mypy/pull/367/commits/3f8ca8834b08c9c97ccd87021220dac7ce5cb605
6e11a96 remove files created rockneurotiko Sep 15, 2014 https://github.com/python/mypy/pull/367/commits/6e11a96fc357a56b8c7b8c8f6d8611041f88bb84
27abde5 more merge rockneurotiko Sep 15, 2014 https://github.com/python/mypy/pull/367/commits/27abde5524c3c50de5f93d67f92f1ecd80d6eeff
5a86acd merge rockneurotiko Sep 15, 2014 https://github.com/python/mypy/pull/367/commits/5a86acd19c5833867792b95b89775be8d8b56fca
08fb60b merge rockneurotiko Sep 15, 2014 https://github.com/python/mypy/pull/367/commits/08fb60b990c83b3e4b53d2b1b0c750c670538ecd
39b7030 corrected some issues & typos Nov 11, 2014 https://github.com/python/mypy/pull/367/commits/39b70304577db862372817a657a0e43a88546193
51c33e3 Merge remote-tracking branch 'jukka/master' into semantic_yield_from rockneurotiko Nov 11, 2014 https://github.com/python/mypy/pull/367/commits/51c33e3e883ba78ca05b5e2958632afdb3bdd8a7
6e72952 Changed the asyncio full tests to pass only in python >= 3.4 rockneurotiko Nov 11, 2014 https://github.com/python/mypy/pull/367/commits/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2
Clear filters https://github.com/python/mypy/pull/367/files
Please reload this pagehttps://github.com/python/mypy/pull/367/files
Please reload this pagehttps://github.com/python/mypy/pull/367/files
CREDITS https://github.com/python/mypy/pull/367/files#diff-4325a27b45a8f14e8131fcf8d6dc321d483de0b3e3cd4e1fed2e90846e934f7c
make.bat https://github.com/python/mypy/pull/367/files#diff-eced23cf23b339d5a7dcd2246cb8fb515b1fa640975b585950c75ae19ba55feb
remove-eol-whitespace.sh https://github.com/python/mypy/pull/367/files#diff-8eb0bb88578ba91c6ca3b9f210f94f03b0bf83b1ca6c345714333ade37f8d617
__init__.py~HEAD https://github.com/python/mypy/pull/367/files#diff-482b171d362be03654d6554e55b760ccad2fbfd58f35530aebc87ec24200d537
checker.py https://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
checkstrformat.py https://github.com/python/mypy/pull/367/files#diff-11d0c95de3a5c95b84ff3e1a28a16ea78f32aebbdbb21f2974dcf69437838e3e
messages.py https://github.com/python/mypy/pull/367/files#diff-81ed300e83205366be4a93b57bbe65edb0826dbeda7f1655e506d5cc103c69c0
nodes.py https://github.com/python/mypy/pull/367/files#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
output.py https://github.com/python/mypy/pull/367/files#diff-791c5b1ba6696f58c65b8b356d1739fa1179e58c97da056201502f605ba4fb16
parse.py https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
semanal.py https://github.com/python/mypy/pull/367/files#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164
stats.py https://github.com/python/mypy/pull/367/files#diff-83112ac59c5b1c420927a22bcdd402409b43d77ea3649b997a966dde7dfdd912
strconv.py https://github.com/python/mypy/pull/367/files#diff-143edb163bb2e8e724b6e28f363b00e1f7e43e633199ca4376ff8c905c80fd2f
check-statements.test https://github.com/python/mypy/pull/367/files#diff-1c2fb6f99f2596d03c7352889158aefaf754c22632f511d154026b9313e9289b
parse-errors.test https://github.com/python/mypy/pull/367/files#diff-06ac00dd21ebd3cfc01c3adff885c961e1eb018adfd5f074d39b3c64523b1d29
parse.test https://github.com/python/mypy/pull/367/files#diff-2fc130e7a681ceece47eee76aef0bae7d69382ec9a89b59bbe5bb7d3f747dd8a
pythoneval-asyncio.test https://github.com/python/mypy/pull/367/files#diff-fd18e4df7a3f4b4bc6d43e222c55637989121839a53be4315d2bd347ce5fd228
testpythoneval.py https://github.com/python/mypy/pull/367/files#diff-9dd59f20d6574f9d5af7175a749448ba3cb625420b97bbf59513fc4ebbb359e2
traverser.py https://github.com/python/mypy/pull/367/files#diff-e0c5dba53ceb7be62d1255ae980bcaae37bd53c04ea0ced26814010220f855d1
treetransform.py https://github.com/python/mypy/pull/367/files#diff-a75c7d5ed7bf8e0b7edb83352bed1378846aff3ccd481e78db2e4e09e529e74f
visitor.py https://github.com/python/mypy/pull/367/files#diff-dfb1bc99bdf1770cb181015480c32a9da3d1a5bb18f2f240d26609f5a769a095
p.py https://github.com/python/mypy/pull/367/files#diff-32801853717e3bc9d5ae018accc4770416bed7017f92e06d252061537e736527
mypy https://github.com/python/mypy/pull/367/files#diff-5b044572ef5d2f1f8ce4412d0568151537b8e7f4d28bfe3051f5285dc7e9e8bb
__init__.py https://github.com/python/mypy/pull/367/files#diff-18a32a85e27fe7ce0136078bf84484352772eca7ad1a5d00098df83c50c0839d
events.py https://github.com/python/mypy/pull/367/files#diff-33018e830f68d4a8712f8e3835563f2885c13058fad528bbcbe25f82cbb77235
futures.py https://github.com/python/mypy/pull/367/files#diff-25455f742cc13b1627f8825da209abd35c37fc0542948644e03d36021447fa7c
tasks.py https://github.com/python/mypy/pull/367/files#diff-053ab13d0e3fab6f2209e6852e867270038ac2705d389b2be29f1f36b8938f87
CREDITShttps://github.com/python/mypy/pull/367/files#diff-4325a27b45a8f14e8131fcf8d6dc321d483de0b3e3cd4e1fed2e90846e934f7c
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/CREDITS
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/mypy/pull/367/{{ revealButtonHref }}
https://github.com/python/mypy/pull/367/files#diff-4325a27b45a8f14e8131fcf8d6dc321d483de0b3e3cd4e1fed2e90846e934f7c
https://github.com/python/mypy/pull/367/files#diff-4325a27b45a8f14e8131fcf8d6dc321d483de0b3e3cd4e1fed2e90846e934f7c
https://github.com/python/mypy/pull/367/files#diff-4325a27b45a8f14e8131fcf8d6dc321d483de0b3e3cd4e1fed2e90846e934f7c
docs/make.bathttps://github.com/python/mypy/pull/367/files#diff-eced23cf23b339d5a7dcd2246cb8fb515b1fa640975b585950c75ae19ba55feb
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/docs/make.bat
Open in desktop https://desktop.github.com
misc/remove-eol-whitespace.shhttps://github.com/python/mypy/pull/367/files#diff-8eb0bb88578ba91c6ca3b9f210f94f03b0bf83b1ca6c345714333ade37f8d617
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/misc/remove-eol-whitespace.sh
Open in desktop https://desktop.github.com
mypy/__init__.py~HEADhttps://github.com/python/mypy/pull/367/files#diff-482b171d362be03654d6554e55b760ccad2fbfd58f35530aebc87ec24200d537
View file https://github.com/python/mypy/blob/82fea44b7fbd20c5f2ac1729b29155a12469bf1f/mypy/__init__.py%7EHEAD
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/python/mypy/pull/367/files
mypy/checker.pyhttps://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/mypy/checker.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/mypy/pull/367/{{ revealButtonHref }}
https://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
https://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
https://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
https://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
https://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
https://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
https://github.com/python/mypy/pull/367/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
mypy/checkstrformat.pyhttps://github.com/python/mypy/pull/367/files#diff-11d0c95de3a5c95b84ff3e1a28a16ea78f32aebbdbb21f2974dcf69437838e3e
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/mypy/checkstrformat.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/mypy/pull/367/{{ revealButtonHref }}
https://github.com/python/mypy/pull/367/files#diff-11d0c95de3a5c95b84ff3e1a28a16ea78f32aebbdbb21f2974dcf69437838e3e
https://github.com/python/mypy/pull/367/files#diff-11d0c95de3a5c95b84ff3e1a28a16ea78f32aebbdbb21f2974dcf69437838e3e
https://github.com/python/mypy/pull/367/files#diff-11d0c95de3a5c95b84ff3e1a28a16ea78f32aebbdbb21f2974dcf69437838e3e
https://github.com/python/mypy/pull/367/files#diff-11d0c95de3a5c95b84ff3e1a28a16ea78f32aebbdbb21f2974dcf69437838e3e
https://github.com/python/mypy/pull/367/files#diff-11d0c95de3a5c95b84ff3e1a28a16ea78f32aebbdbb21f2974dcf69437838e3e
https://github.com/python/mypy/pull/367/files#diff-11d0c95de3a5c95b84ff3e1a28a16ea78f32aebbdbb21f2974dcf69437838e3e
mypy/messages.pyhttps://github.com/python/mypy/pull/367/files#diff-81ed300e83205366be4a93b57bbe65edb0826dbeda7f1655e506d5cc103c69c0
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/mypy/messages.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/mypy/pull/367/{{ revealButtonHref }}
https://github.com/python/mypy/pull/367/files#diff-81ed300e83205366be4a93b57bbe65edb0826dbeda7f1655e506d5cc103c69c0
https://github.com/python/mypy/pull/367/files#diff-81ed300e83205366be4a93b57bbe65edb0826dbeda7f1655e506d5cc103c69c0
https://github.com/python/mypy/pull/367/files#diff-81ed300e83205366be4a93b57bbe65edb0826dbeda7f1655e506d5cc103c69c0
https://github.com/python/mypy/pull/367/files#diff-81ed300e83205366be4a93b57bbe65edb0826dbeda7f1655e506d5cc103c69c0
https://github.com/python/mypy/pull/367/files#diff-81ed300e83205366be4a93b57bbe65edb0826dbeda7f1655e506d5cc103c69c0
mypy/nodes.pyhttps://github.com/python/mypy/pull/367/files#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/mypy/nodes.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/mypy/pull/367/{{ revealButtonHref }}
https://github.com/python/mypy/pull/367/files#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
https://github.com/python/mypy/pull/367/files#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
https://github.com/python/mypy/pull/367/files#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
https://github.com/python/mypy/pull/367/files#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
https://github.com/python/mypy/pull/367/files#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
https://github.com/python/mypy/pull/367/files#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
mypy/output.pyhttps://github.com/python/mypy/pull/367/files#diff-791c5b1ba6696f58c65b8b356d1739fa1179e58c97da056201502f605ba4fb16
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/mypy/output.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/mypy/pull/367/{{ revealButtonHref }}
https://github.com/python/mypy/pull/367/files#diff-791c5b1ba6696f58c65b8b356d1739fa1179e58c97da056201502f605ba4fb16
https://github.com/python/mypy/pull/367/files#diff-791c5b1ba6696f58c65b8b356d1739fa1179e58c97da056201502f605ba4fb16
https://github.com/python/mypy/pull/367/files#diff-791c5b1ba6696f58c65b8b356d1739fa1179e58c97da056201502f605ba4fb16
https://github.com/python/mypy/pull/367/files#diff-791c5b1ba6696f58c65b8b356d1739fa1179e58c97da056201502f605ba4fb16
mypy/parse.pyhttps://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
View file https://github.com/rockneurotiko/mypy/blob/6e72952e92c4c751123ca3aa855bc0fe2e5f2cf2/mypy/parse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/mypy/pull/367/{{ revealButtonHref }}
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
https://github.com/python/mypy/pull/367/files#diff-1d8f31778a248bcefc43d6596e765a70ecb89b072bdd2440447918615fb1875f
Please reload this pagehttps://github.com/python/mypy/pull/367/files
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.