René's URL Explorer Experiment


Title: More `TypeAlias` fixes by AlexWaygood · Pull Request #7667 · python/typeshed · GitHub

Open Graph Title: More `TypeAlias` fixes by AlexWaygood · Pull Request #7667 · python/typeshed

X Title: More `TypeAlias` fixes by AlexWaygood · Pull Request #7667 · python/typeshed

Description: I realised that the script I used for preparing #7630 had several bugs. Here is the new script. import ast import re import subprocess import sys from collections import defaultdict from contextlib import contextmanager from dataclasses import dataclass from itertools import chain from pathlib import Path from types import ModuleType from typing import Iterator, NamedTuple FAILURES = [] @dataclass class NestingCounter: """Class to help the PyiVisitor keep track of internal state""" nesting: int = 0 @contextmanager def enabled(self) -> Iterator[None]: self.nesting += 1 try: yield finally: self.nesting -= 1 @property def active(self) -> bool: """Determine whether the level of nesting is currently non-zero""" return bool(self.nesting) class AnnotationFinder(ast.NodeVisitor): def __init__(self) -> None: self.all_names = set[str]() def visit_Attribute(self, node: ast.Attribute) -> None: return def visit_Name(self, node: ast.Name) -> None: self.all_names.add(node.id) self.generic_visit(node) def fix_bad_syntax(path: Path) -> None: with open(path) as f: stub = f.read() lines = stub.splitlines() tree = ast.parse(stub) typealias_import_needed = False class StubVisitor(ast.NodeVisitor): def __init__(self) -> None: # Mapping of all assignments in the file that could be type aliases # (This excludes assignments to function calls and ellipses, etc.) self.maybe_typealias_assignments: defaultdict[str, list[ast.Assign]] = defaultdict(list) # Set of all names and attributes that are used as annotations in the file self.all_names_in_annotations: set[str] = set() self.in_class = NestingCounter() def visit_ClassDef(self, node: ast.ClassDef) -> None: with self.in_class.enabled(): self.generic_visit(node) def visit_annotation(self, annotation: ast.expr) -> None: annotation_finder = AnnotationFinder() annotation_finder.visit(annotation) self.all_names_in_annotations |= annotation_finder.all_names def visit_FunctionDef(self, node: ast.FunctionDef) -> None: returns = node.returns if node.returns is not None: self.visit_annotation(node.returns) self.generic_visit(node) visit_AsyncFunctionDef = visit_FunctionDef def visit_arg(self, node: ast.arg) -> None: annotation = node.annotation if annotation is not None: self.visit_annotation(annotation) self.generic_visit(node) def visit_AnnAssign(self, node: ast.AnnAssign) -> None: self.visit_annotation(node) self.generic_visit(node) def visit_Assign(self, node: ast.Assign) -> None: nonlocal typealias_import_needed self.generic_visit(node) target = node.targets[0] assert isinstance(target, ast.Name) target_name = target.id if not target_name.startswith("_"): return if (self.in_class.active and target_name == "__match_args__") or ( target_name == "__all__" and not self.in_class.active ): return assignment = node.value if isinstance(assignment, (ast.Ellipsis, ast.Call, ast.Num, ast.Str, ast.Bytes)): return if isinstance(assignment, ast.Name): self.maybe_typealias_assignments[target_name].append(node) elif isinstance(assignment, ast.Attribute): if isinstance(assignment.value, ast.Name): self.maybe_typealias_assignments[target_name].append(node) elif not "# noqa: Y026" in lines[node.lineno - 1]: typealias_import_needed = True lines[node.lineno - 1] = re.sub(f"{target_name} = ", f"{target_name}: TypeAlias = ", lines[node.lineno - 1]) def visit(self, tree: ast.AST) -> None: nonlocal typealias_import_needed super().visit(tree) for annotation in self.all_names_in_annotations: for node in self.maybe_typealias_assignments[annotation]: if not "# noqa: Y026" in lines[node.lineno - 1]: typealias_import_needed = True lines[node.lineno - 1] = re.sub(f"{annotation} = ", f"{annotation}: TypeAlias = ", lines[node.lineno - 1]) StubVisitor().visit(tree) if not typealias_import_needed: return tree = ast.parse("\n".join(lines)) typealias_imported = False class TypeAliasImportFinder(ast.NodeVisitor): def visit_ImportFrom(self, node: ast.ImportFrom) -> None: nonlocal typealias_imported if node.module != "typing_extensions": return if any(cls.name == "TypeAlias" for cls in node.names): typealias_imported = True return TypeAliasImportFinder().visit(tree) if not typealias_imported: lines = ["from typing_extensions import TypeAlias"] + lines with open(path, "w") as f: f.write("\n".join(lines) + "\n") def main() -> None: print("STARTING RUN: Will attempt to fix new syntax in the stubs directory...\n\n") for path in chain(Path("stdlib").rglob("*.pyi"), Path("stubs").rglob("*.pyi")): if "@python2" in path.parts: continue print(f"Attempting to convert {path} to new syntax.") fix_bad_syntax(path) print("\n\nSTARTING ISORT...\n\n") subprocess.run([sys.executable, "-m", "isort", "."]) print("\n\nSTARTING BLACK...\n\n") subprocess.run([sys.executable, "-m", "black", "."]) if FAILURES: print("\n\nFAILED to convert the following files to new syntax:\n") for path in FAILURES: print(f"- {path}") else: print("\n\nThere were ZERO failures in converting to new syntax. HOORAY!!\n\n") print('\n\nRunning "check_new_syntax.py"...\n\n') subprocess.run([sys.executable, "tests/check_new_syntax.py"]) if __name__ == "__main__": main()

Open Graph Description: I realised that the script I used for preparing #7630 had several bugs. Here is the new script. import ast import re import subprocess import sys from collections import defaultdict from contextlib...

X Description: I realised that the script I used for preparing #7630 had several bugs. Here is the new script. import ast import re import subprocess import sys from collections import defaultdict from contextlib...

Opengraph URL: https://github.com/python/typeshed/pull/7667

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:4b98e1c5-d611-9398-d70e-0c3a3a61615b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB484:356FBF:2D5795F:3DB7B51:6B005841
html-safe-noncea0d69215a265d859420217280b3ea842da6c9d01482b9613df532148bc884715
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDg0OjM1NkZCRjoyRDU3OTVGOjNEQjdCNTE6NkIwMDU4NDEiLCJ2aXNpdG9yX2lkIjoiNDY3Mjk4NTMxODE4NDQ3NDY4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3f759fd3fdd5f439766a7994d5bb007f913d1c78ef030c00266140daadf71b1f
hovercard-subject-tagpull_request:914546070
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/typeshed/pull/7667/files
twitter:imagehttps://avatars.githubusercontent.com/u/66076021?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/66076021?s=400&v=4
og:image:altI realised that the script I used for preparing #7630 had several bugs. Here is the new script. import ast import re import subprocess import sys from collections import defaultdict from contextlib...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/7667/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F7667%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%2Ftypeshed%2Fpull%2F7667%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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/7667/files
Reloadhttps://github.com/python/typeshed/pull/7667/files
Reloadhttps://github.com/python/typeshed/pull/7667/files
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests252 (252)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
AlexWaygoodhttps://github.com/AlexWaygood
python:masterhttps://github.com/python/typeshed/tree/master
AlexWaygood:typealiaseshttps://github.com/AlexWaygood/typeshed/tree/typealiases
Conversation 3 https://github.com/python/typeshed/pull/7667
Commits 3 https://github.com/python/typeshed/pull/7667/commits
Checks 0 https://github.com/python/typeshed/pull/7667/checks
Files changed https://github.com/python/typeshed/pull/7667/files
Please reload this pagehttps://github.com/python/typeshed/pull/7667/files
More TypeAlias fixes https://github.com/python/typeshed/pull/7667/files#top
Show all changes 3 commits https://github.com/python/typeshed/pull/7667/files
fcd9ee9 More `TypeAlias` fixes AlexWaygood Apr 20, 2022 https://github.com/python/typeshed/pull/7667/commits/fcd9ee9922ff152724d8233601558f11577d9b35
37d1487 Fix AlexWaygood Apr 20, 2022 https://github.com/python/typeshed/pull/7667/commits/37d1487310ca3116f42cb5ac2dc2280e0b6ec7b5
fde9cb5 Fix more AlexWaygood Apr 20, 2022 https://github.com/python/typeshed/pull/7667/commits/fde9cb58ce8cdd906e029302b2306ec1b2c425d8
Clear filters https://github.com/python/typeshed/pull/7667/files
Please reload this pagehttps://github.com/python/typeshed/pull/7667/files
Please reload this pagehttps://github.com/python/typeshed/pull/7667/files
_ast.pyi https://github.com/python/typeshed/pull/7667/files#diff-e9cff1f3aab71de7963674aaaf8730929845de82c7f11168b044b9b005ccad05
_socket.pyi https://github.com/python/typeshed/pull/7667/files#diff-7a8c422e55b20b013726072a4e6e17b2f54e3ec8a29f085ca79fee97d0c93a8a
streams.pyi https://github.com/python/typeshed/pull/7667/files#diff-fefb6383d8b102f5edace73eb0dd2a3e6446e90e347143a19f08db9b00a7248c
cgi.pyi https://github.com/python/typeshed/pull/7667/files#diff-ce6514a925e66b904ae3a794034e5276ffe7e5a58191f0ef407f6aa286a5b6c6
configparser.pyi https://github.com/python/typeshed/pull/7667/files#diff-3e4fbf881d66fea3798d528a3c121e720c0b97c9375a9bedec55b1ff9a7d0240
datetime.pyi https://github.com/python/typeshed/pull/7667/files#diff-c822e1a816e3536b7505472c0162e3f1f7a7b5706554e2a5ca1e7a7c00352e9b
message.pyi https://github.com/python/typeshed/pull/7667/files#diff-ced02b01b42b244e9b7bc2e12ef7a215bde89a29072c99ade903f58fb83a3bc7
functools.pyi https://github.com/python/typeshed/pull/7667/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157
inspect.pyi https://github.com/python/typeshed/pull/7667/files#diff-576293cde769c08cf6575587a1eebf90d0e07ffcf46ae624ff33d1fe816db742
refactor.pyi https://github.com/python/typeshed/pull/7667/files#diff-f6cc3103aad72e7cfe16b774c7ca49195d89266ba6dd30b8b104079d0814bf81
config.pyi https://github.com/python/typeshed/pull/7667/files#diff-6da6c481f09d37cb76ac13dc94f90ee8eb200c555ff78ebd8ce6129f606fdf7a
math.pyi https://github.com/python/typeshed/pull/7667/files#diff-59a00c59a3a3a3d36b22e60a0ebf8514b258acb54a9cc6cff07b7e69a440d750
managers.pyi https://github.com/python/typeshed/pull/7667/files#diff-936c84e43ae5b97005c52f87c3d7a29888ca5aea715835e2d3d1356b63dea642
nntplib.pyi https://github.com/python/typeshed/pull/7667/files#diff-9e000d9563408593d9e3044e16cbf624d2f8c5f34079d79b07001aa0186f3fcf
poplib.pyi https://github.com/python/typeshed/pull/7667/files#diff-fc45b2aef340f98146b89c3b71582871fb3bc05de957f3d1fa8455d983c86411
pydoc.pyi https://github.com/python/typeshed/pull/7667/files#diff-6f82789a27267819026a18849a31c59b7fe691f432375690cd4a29414a0b090a
selectors.pyi https://github.com/python/typeshed/pull/7667/files#diff-5a416b7fad82564aa079df9264233111959ce14fa990aa04af887145b79a1975
shutil.pyi https://github.com/python/typeshed/pull/7667/files#diff-9c749476405e46c668093de1fa173e3569a04cbd97331800ac4dc2a67059168e
tarfile.pyi https://github.com/python/typeshed/pull/7667/files#diff-27d64f76f95d4a6214902f937984699bb97f313cd6808cfbbe1256eceafaf45e
turtle.pyi https://github.com/python/typeshed/pull/7667/files#diff-bff4d97f5cbf1f4e037c0d5bcdb3b891ca86472290a89240fc4f61f9fb60b7ae
mock.pyi https://github.com/python/typeshed/pull/7667/files#diff-aa6744de9f4c8917edccf35baece09184b4f9ed85f6303d7496f6249a9e7687c
extension.pyi https://github.com/python/typeshed/pull/7667/files#diff-870e0e644639dfd2016cc7b4d6ff757eee1f24321499a5048713ca8f0961e353
__init__.pyi https://github.com/python/typeshed/pull/7667/files#diff-4e529698adcb90c671ceb7e383f513be06d501e79e18a4c7b5a5a40043dfa760
__init__.pyi https://github.com/python/typeshed/pull/7667/files#diff-2eeb97cf80695c9a54dd5262878967142355f59e2dfb96051b7220e94b2ef1f5
sanitizer.pyi https://github.com/python/typeshed/pull/7667/files#diff-7ea76190c3952138cb1e280e148d53e4ee4cd25e2fda967495cbe615ff37f563
utils.pyi https://github.com/python/typeshed/pull/7667/files#diff-cb98cfb04e130783f234c1ddf0c58715712b187054c41288659054841ccc164e
davclient.pyi https://github.com/python/typeshed/pull/7667/files#diff-09b583f890e8bdbe33978edebdc49cbe7c9732a6ca73961f7a70558560eb5fa0
base.pyi https://github.com/python/typeshed/pull/7667/files#diff-ae5fb60bc06442db26aac658908c978922273ea06ad90dc991b6f5ca31df0345
objects.pyi https://github.com/python/typeshed/pull/7667/files#diff-ed64537564c2cd89c651d4ec0b1d31560ac6199a1faab71a55c6498cefe4eacd
decorator.pyi https://github.com/python/typeshed/pull/7667/files#diff-a15bf861178464fc0aeb3ef04d3788d9578b372761841bab53daf6740b3d4ad6
__init__.pyi https://github.com/python/typeshed/pull/7667/files#diff-e5c0c4797b14af7f39292704e943a99b1cbe400cc531d0c669a42eebad85cfd9
text_format.pyi https://github.com/python/typeshed/pull/7667/files#diff-bdb9917fc55eab66834909714fdab7a8a4b6cc9090dc3f812fcca57d7f79d040
_psycopg.pyi https://github.com/python/typeshed/pull/7667/files#diff-0f425c352331e97f72634f6e626545d46059d6744c3b7e6a439119482869c8ee
checker.pyi https://github.com/python/typeshed/pull/7667/files#diff-d2bb352db923f67d82472b282f9054b5e7722e04fb0b13701d4d6782b94f34cc
relativedelta.pyi https://github.com/python/typeshed/pull/7667/files#diff-e76171750146ec13d2cfbb1e8d2ec98bbc97108fc2869271b3754c414cea5930
rrule.pyi https://github.com/python/typeshed/pull/7667/files#diff-c749af8f5b8dd64fc43f08e7b11dc479079a32624353923c42a10b750fe56b29
connection.pyi https://github.com/python/typeshed/pull/7667/files#diff-a850847495847ab7a54940f164f94860a4f1c8b54946f0106c6855f98702f1a3
sessions.pyi https://github.com/python/typeshed/pull/7667/files#diff-bfcfcf0d08b5e5c2965394517079c5cfb2b2a11b2e27cf9d08fb07090cd9a4ce
ast27.pyi https://github.com/python/typeshed/pull/7667/files#diff-ec7d000331ce36a1dd00871d2a2709473c33e8362a91e38a0ce1c79d264796f9
ast3.pyi https://github.com/python/typeshed/pull/7667/files#diff-640a7e887837e6403235f68a296a443ea32da510bf14c3f0622c5ef2f69ded58
wasyncore.pyi https://github.com/python/typeshed/pull/7667/files#diff-6ed4f3b3d496d185f342a33d1b82b3004889001c8c82ceb426e04862a349c854
stdlib/_ast.pyihttps://github.com/python/typeshed/pull/7667/files#diff-e9cff1f3aab71de7963674aaaf8730929845de82c7f11168b044b9b005ccad05
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/_ast.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-e9cff1f3aab71de7963674aaaf8730929845de82c7f11168b044b9b005ccad05
https://github.com/python/typeshed/pull/7667/files#diff-e9cff1f3aab71de7963674aaaf8730929845de82c7f11168b044b9b005ccad05
https://github.com/python/typeshed/pull/7667/files#diff-e9cff1f3aab71de7963674aaaf8730929845de82c7f11168b044b9b005ccad05
https://github.com/python/typeshed/pull/7667/files#diff-e9cff1f3aab71de7963674aaaf8730929845de82c7f11168b044b9b005ccad05
https://github.com/python/typeshed/pull/7667/files#diff-e9cff1f3aab71de7963674aaaf8730929845de82c7f11168b044b9b005ccad05
stdlib/_socket.pyihttps://github.com/python/typeshed/pull/7667/files#diff-7a8c422e55b20b013726072a4e6e17b2f54e3ec8a29f085ca79fee97d0c93a8a
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/_socket.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-7a8c422e55b20b013726072a4e6e17b2f54e3ec8a29f085ca79fee97d0c93a8a
https://github.com/python/typeshed/pull/7667/files#diff-7a8c422e55b20b013726072a4e6e17b2f54e3ec8a29f085ca79fee97d0c93a8a
stdlib/asyncio/streams.pyihttps://github.com/python/typeshed/pull/7667/files#diff-fefb6383d8b102f5edace73eb0dd2a3e6446e90e347143a19f08db9b00a7248c
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/asyncio/streams.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-fefb6383d8b102f5edace73eb0dd2a3e6446e90e347143a19f08db9b00a7248c
https://github.com/python/typeshed/pull/7667/files#diff-fefb6383d8b102f5edace73eb0dd2a3e6446e90e347143a19f08db9b00a7248c
stdlib/cgi.pyihttps://github.com/python/typeshed/pull/7667/files#diff-ce6514a925e66b904ae3a794034e5276ffe7e5a58191f0ef407f6aa286a5b6c6
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/cgi.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-ce6514a925e66b904ae3a794034e5276ffe7e5a58191f0ef407f6aa286a5b6c6
https://github.com/python/typeshed/pull/7667/files#diff-ce6514a925e66b904ae3a794034e5276ffe7e5a58191f0ef407f6aa286a5b6c6
https://github.com/python/typeshed/pull/7667/files#diff-ce6514a925e66b904ae3a794034e5276ffe7e5a58191f0ef407f6aa286a5b6c6
stdlib/configparser.pyihttps://github.com/python/typeshed/pull/7667/files#diff-3e4fbf881d66fea3798d528a3c121e720c0b97c9375a9bedec55b1ff9a7d0240
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/configparser.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-3e4fbf881d66fea3798d528a3c121e720c0b97c9375a9bedec55b1ff9a7d0240
https://github.com/python/typeshed/pull/7667/files#diff-3e4fbf881d66fea3798d528a3c121e720c0b97c9375a9bedec55b1ff9a7d0240
stdlib/datetime.pyihttps://github.com/python/typeshed/pull/7667/files#diff-c822e1a816e3536b7505472c0162e3f1f7a7b5706554e2a5ca1e7a7c00352e9b
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/datetime.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-c822e1a816e3536b7505472c0162e3f1f7a7b5706554e2a5ca1e7a7c00352e9b
https://github.com/python/typeshed/pull/7667/files#diff-c822e1a816e3536b7505472c0162e3f1f7a7b5706554e2a5ca1e7a7c00352e9b
https://github.com/python/typeshed/pull/7667/files#diff-c822e1a816e3536b7505472c0162e3f1f7a7b5706554e2a5ca1e7a7c00352e9b
https://github.com/python/typeshed/pull/7667/files#diff-c822e1a816e3536b7505472c0162e3f1f7a7b5706554e2a5ca1e7a7c00352e9b
https://github.com/python/typeshed/pull/7667/files#diff-c822e1a816e3536b7505472c0162e3f1f7a7b5706554e2a5ca1e7a7c00352e9b
stdlib/email/message.pyihttps://github.com/python/typeshed/pull/7667/files#diff-ced02b01b42b244e9b7bc2e12ef7a215bde89a29072c99ade903f58fb83a3bc7
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/email/message.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-ced02b01b42b244e9b7bc2e12ef7a215bde89a29072c99ade903f58fb83a3bc7
https://github.com/python/typeshed/pull/7667/files#diff-ced02b01b42b244e9b7bc2e12ef7a215bde89a29072c99ade903f58fb83a3bc7
stdlib/functools.pyihttps://github.com/python/typeshed/pull/7667/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/functools.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157
https://github.com/python/typeshed/pull/7667/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157
stdlib/inspect.pyihttps://github.com/python/typeshed/pull/7667/files#diff-576293cde769c08cf6575587a1eebf90d0e07ffcf46ae624ff33d1fe816db742
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/inspect.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-576293cde769c08cf6575587a1eebf90d0e07ffcf46ae624ff33d1fe816db742
https://github.com/python/typeshed/pull/7667/files#diff-576293cde769c08cf6575587a1eebf90d0e07ffcf46ae624ff33d1fe816db742
stdlib/lib2to3/refactor.pyihttps://github.com/python/typeshed/pull/7667/files#diff-f6cc3103aad72e7cfe16b774c7ca49195d89266ba6dd30b8b104079d0814bf81
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/lib2to3/refactor.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-f6cc3103aad72e7cfe16b774c7ca49195d89266ba6dd30b8b104079d0814bf81
stdlib/logging/config.pyihttps://github.com/python/typeshed/pull/7667/files#diff-6da6c481f09d37cb76ac13dc94f90ee8eb200c555ff78ebd8ce6129f606fdf7a
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/logging/config.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-6da6c481f09d37cb76ac13dc94f90ee8eb200c555ff78ebd8ce6129f606fdf7a
https://github.com/python/typeshed/pull/7667/files#diff-6da6c481f09d37cb76ac13dc94f90ee8eb200c555ff78ebd8ce6129f606fdf7a
https://github.com/python/typeshed/pull/7667/files#diff-6da6c481f09d37cb76ac13dc94f90ee8eb200c555ff78ebd8ce6129f606fdf7a
stdlib/math.pyihttps://github.com/python/typeshed/pull/7667/files#diff-59a00c59a3a3a3d36b22e60a0ebf8514b258acb54a9cc6cff07b7e69a440d750
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/math.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-59a00c59a3a3a3d36b22e60a0ebf8514b258acb54a9cc6cff07b7e69a440d750
https://github.com/python/typeshed/pull/7667/files#diff-59a00c59a3a3a3d36b22e60a0ebf8514b258acb54a9cc6cff07b7e69a440d750
stdlib/multiprocessing/managers.pyihttps://github.com/python/typeshed/pull/7667/files#diff-936c84e43ae5b97005c52f87c3d7a29888ca5aea715835e2d3d1356b63dea642
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/multiprocessing/managers.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-936c84e43ae5b97005c52f87c3d7a29888ca5aea715835e2d3d1356b63dea642
https://github.com/python/typeshed/pull/7667/files#diff-936c84e43ae5b97005c52f87c3d7a29888ca5aea715835e2d3d1356b63dea642
https://github.com/python/typeshed/pull/7667/files#diff-936c84e43ae5b97005c52f87c3d7a29888ca5aea715835e2d3d1356b63dea642
https://github.com/python/typeshed/pull/7667/files#diff-936c84e43ae5b97005c52f87c3d7a29888ca5aea715835e2d3d1356b63dea642
https://github.com/python/typeshed/pull/7667/files#diff-936c84e43ae5b97005c52f87c3d7a29888ca5aea715835e2d3d1356b63dea642
stdlib/nntplib.pyihttps://github.com/python/typeshed/pull/7667/files#diff-9e000d9563408593d9e3044e16cbf624d2f8c5f34079d79b07001aa0186f3fcf
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/nntplib.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-9e000d9563408593d9e3044e16cbf624d2f8c5f34079d79b07001aa0186f3fcf
https://github.com/python/typeshed/pull/7667/files#diff-9e000d9563408593d9e3044e16cbf624d2f8c5f34079d79b07001aa0186f3fcf
https://github.com/python/typeshed/pull/7667/files#diff-9e000d9563408593d9e3044e16cbf624d2f8c5f34079d79b07001aa0186f3fcf
https://github.com/python/typeshed/pull/7667/files#diff-9e000d9563408593d9e3044e16cbf624d2f8c5f34079d79b07001aa0186f3fcf
stdlib/poplib.pyihttps://github.com/python/typeshed/pull/7667/files#diff-fc45b2aef340f98146b89c3b71582871fb3bc05de957f3d1fa8455d983c86411
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/poplib.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-fc45b2aef340f98146b89c3b71582871fb3bc05de957f3d1fa8455d983c86411
https://github.com/python/typeshed/pull/7667/files#diff-fc45b2aef340f98146b89c3b71582871fb3bc05de957f3d1fa8455d983c86411
stdlib/pydoc.pyihttps://github.com/python/typeshed/pull/7667/files#diff-6f82789a27267819026a18849a31c59b7fe691f432375690cd4a29414a0b090a
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/pydoc.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-6f82789a27267819026a18849a31c59b7fe691f432375690cd4a29414a0b090a
https://github.com/python/typeshed/pull/7667/files#diff-6f82789a27267819026a18849a31c59b7fe691f432375690cd4a29414a0b090a
https://github.com/python/typeshed/pull/7667/files#diff-6f82789a27267819026a18849a31c59b7fe691f432375690cd4a29414a0b090a
stdlib/selectors.pyihttps://github.com/python/typeshed/pull/7667/files#diff-5a416b7fad82564aa079df9264233111959ce14fa990aa04af887145b79a1975
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/selectors.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-5a416b7fad82564aa079df9264233111959ce14fa990aa04af887145b79a1975
https://github.com/python/typeshed/pull/7667/files#diff-5a416b7fad82564aa079df9264233111959ce14fa990aa04af887145b79a1975
stdlib/shutil.pyihttps://github.com/python/typeshed/pull/7667/files#diff-9c749476405e46c668093de1fa173e3569a04cbd97331800ac4dc2a67059168e
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/shutil.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-9c749476405e46c668093de1fa173e3569a04cbd97331800ac4dc2a67059168e
https://github.com/python/typeshed/pull/7667/files#diff-9c749476405e46c668093de1fa173e3569a04cbd97331800ac4dc2a67059168e
stdlib/tarfile.pyihttps://github.com/python/typeshed/pull/7667/files#diff-27d64f76f95d4a6214902f937984699bb97f313cd6808cfbbe1256eceafaf45e
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/tarfile.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-27d64f76f95d4a6214902f937984699bb97f313cd6808cfbbe1256eceafaf45e
https://github.com/python/typeshed/pull/7667/files#diff-27d64f76f95d4a6214902f937984699bb97f313cd6808cfbbe1256eceafaf45e
https://github.com/python/typeshed/pull/7667/files#diff-27d64f76f95d4a6214902f937984699bb97f313cd6808cfbbe1256eceafaf45e
https://github.com/python/typeshed/pull/7667/files#diff-27d64f76f95d4a6214902f937984699bb97f313cd6808cfbbe1256eceafaf45e
stdlib/turtle.pyihttps://github.com/python/typeshed/pull/7667/files#diff-bff4d97f5cbf1f4e037c0d5bcdb3b891ca86472290a89240fc4f61f9fb60b7ae
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/turtle.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-bff4d97f5cbf1f4e037c0d5bcdb3b891ca86472290a89240fc4f61f9fb60b7ae
https://github.com/python/typeshed/pull/7667/files#diff-bff4d97f5cbf1f4e037c0d5bcdb3b891ca86472290a89240fc4f61f9fb60b7ae
stdlib/unittest/mock.pyihttps://github.com/python/typeshed/pull/7667/files#diff-aa6744de9f4c8917edccf35baece09184b4f9ed85f6303d7496f6249a9e7687c
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stdlib/unittest/mock.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-aa6744de9f4c8917edccf35baece09184b4f9ed85f6303d7496f6249a9e7687c
https://github.com/python/typeshed/pull/7667/files#diff-aa6744de9f4c8917edccf35baece09184b4f9ed85f6303d7496f6249a9e7687c
stubs/Flask-Cors/flask_cors/extension.pyihttps://github.com/python/typeshed/pull/7667/files#diff-870e0e644639dfd2016cc7b4d6ff757eee1f24321499a5048713ca8f0961e353
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stubs/Flask-Cors/flask_cors/extension.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-870e0e644639dfd2016cc7b4d6ff757eee1f24321499a5048713ca8f0961e353
https://github.com/python/typeshed/pull/7667/files#diff-870e0e644639dfd2016cc7b4d6ff757eee1f24321499a5048713ca8f0961e353
stubs/JACK-Client/jack/__init__.pyihttps://github.com/python/typeshed/pull/7667/files#diff-4e529698adcb90c671ceb7e383f513be06d501e79e18a4c7b5a5a40043dfa760
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stubs/JACK-Client/jack/__init__.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-4e529698adcb90c671ceb7e383f513be06d501e79e18a4c7b5a5a40043dfa760
stubs/PyYAML/yaml/__init__.pyihttps://github.com/python/typeshed/pull/7667/files#diff-2eeb97cf80695c9a54dd5262878967142355f59e2dfb96051b7220e94b2ef1f5
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stubs/PyYAML/yaml/__init__.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-2eeb97cf80695c9a54dd5262878967142355f59e2dfb96051b7220e94b2ef1f5
https://github.com/python/typeshed/pull/7667/files#diff-2eeb97cf80695c9a54dd5262878967142355f59e2dfb96051b7220e94b2ef1f5
stubs/bleach/bleach/sanitizer.pyihttps://github.com/python/typeshed/pull/7667/files#diff-7ea76190c3952138cb1e280e148d53e4ee4cd25e2fda967495cbe615ff37f563
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stubs/bleach/bleach/sanitizer.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-7ea76190c3952138cb1e280e148d53e4ee4cd25e2fda967495cbe615ff37f563
https://github.com/python/typeshed/pull/7667/files#diff-7ea76190c3952138cb1e280e148d53e4ee4cd25e2fda967495cbe615ff37f563
stubs/boto/boto/utils.pyihttps://github.com/python/typeshed/pull/7667/files#diff-cb98cfb04e130783f234c1ddf0c58715712b187054c41288659054841ccc164e
View file https://github.com/AlexWaygood/typeshed/blob/fde9cb58ce8cdd906e029302b2306ec1b2c425d8/stubs/boto/boto/utils.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/7667/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/7667/files#diff-cb98cfb04e130783f234c1ddf0c58715712b187054c41288659054841ccc164e
https://github.com/python/typeshed/pull/7667/files#diff-cb98cfb04e130783f234c1ddf0c58715712b187054c41288659054841ccc164e
Please reload this pagehttps://github.com/python/typeshed/pull/7667/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.