René's URL Explorer Experiment


Title: Add overloads for argparse functions that take a namespace to return a typevar bound to the input namespace by qthequartermasterman · Pull Request #10307 · python/typeshed · GitHub

Open Graph Title: Add overloads for argparse functions that take a namespace to return a typevar bound to the input namespace by qthequartermasterman · Pull Request #10307 · python/typeshed

X Title: Add overloads for argparse functions that take a namespace to return a typevar bound to the input namespace by qthequartermasterman · Pull Request #10307 · python/typeshed

Description: Collection of library stubs for Python, with static types - Add overloads for argparse functions that take a namespace to return a typevar bound to the input namespace by qthequartermasterman · Pull Request #10307 · python/typeshed

Open Graph Description: In the argparse stubs, ArgumentParser.parse_args has overloads that allow subclasses of Namespace as inputs that return that same type (using a TypeVar). At runtime, the methods parse_known_args, p...

X Description: In the argparse stubs, ArgumentParser.parse_args has overloads that allow subclasses of Namespace as inputs that return that same type (using a TypeVar). At runtime, the methods parse_known_args, p...

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

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:c2f7e5ef-4870-805b-db7c-f95d99fe3eac
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE42:77A5A:284A4DD:34EC4DC:6B000B1F
html-safe-nonce041aae43f4f0bde69ab2f6ab29b6c979a5dff77214cfa6e243009a8d6f6de9f1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTQyOjc3QTVBOjI4NEE0REQ6MzRFQzREQzo2QjAwMEIxRiIsInZpc2l0b3JfaWQiOiI4Nzg2ODMxMTQ2MDcyNjczMDU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2da0abd1be532e699b9a956f4c6de3b93f0e115e492230f298a8829d569ddbcf
hovercard-subject-tagpull_request:1388488600
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/typeshed/10307/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cde3d90e564d0e57a1f78cbbc061e8c9496559c002e141b66cffee27f8465dda/python/typeshed/pull/10307
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cde3d90e564d0e57a1f78cbbc061e8c9496559c002e141b66cffee27f8465dda/python/typeshed/pull/10307
og:image:altIn the argparse stubs, ArgumentParser.parse_args has overloads that allow subclasses of Namespace as inputs that return that same type (using a TypeVar). At runtime, the methods parse_known_args, p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameqthequartermasterman
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/10307#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10307
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%2F10307
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/10307
Reloadhttps://github.com/python/typeshed/pull/10307
Reloadhttps://github.com/python/typeshed/pull/10307
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)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
https://github.com/python/typeshed
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
qthequartermasterman:argparse-namespacehttps://github.com/qthequartermasterman/typeshed/tree/argparse-namespace
Conversationhttps://github.com/python/typeshed/pull/10307
Commits6 (6)https://github.com/python/typeshed/pull/10307/commits
Checkshttps://github.com/python/typeshed/pull/10307/checks
Files changedhttps://github.com/python/typeshed/pull/10307/files
Add overloads for argparse functions that take a namespace to return a typevar bound to the input namespacehttps://github.com/python/typeshed/pull/10307#top
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
qthequartermasterman:argparse-namespacehttps://github.com/qthequartermasterman/typeshed/tree/argparse-namespace
https://github.com/qthequartermasterman
qthequartermastermanhttps://github.com/qthequartermasterman
Jun 12, 2023https://github.com/python/typeshed/pull/10307#issue-1752513626
Please reload this pagehttps://github.com/python/typeshed/pull/10307
qthequartermastermanhttps://github.com/qthequartermasterman
June 12, 2023 06:14https://github.com/python/typeshed/pull/10307#commits-pushed-838fc97
https://github.com/qthequartermasterman
add overloads for argparse functions that take a namespace to return …https://github.com/python/typeshed/pull/10307/commits/838fc97de98b208797f7d8b6600d7427e5a9e5fe
838fc97https://github.com/python/typeshed/pull/10307/commits/838fc97de98b208797f7d8b6600d7427e5a9e5fe
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/10307/commits/7333d56f803aa98328e9fbc1f6f1c6fa16a79cfb
7333d56https://github.com/python/typeshed/pull/10307/commits/7333d56f803aa98328e9fbc1f6f1c6fa16a79cfb
https://github.com/qthequartermasterman
qthequartermastermanhttps://github.com/qthequartermasterman
June 12, 2023 11:22https://github.com/python/typeshed/pull/10307#event-9501227312
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10307
https://github.com/qthequartermasterman
bind namespace typevarhttps://github.com/python/typeshed/pull/10307/commits/607b16f071aab3e4378e23b5ef58a43291b05307
607b16fhttps://github.com/python/typeshed/pull/10307/commits/607b16f071aab3e4378e23b5ef58a43291b05307
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10307
https://github.com/qthequartermasterman
qthequartermastermanhttps://github.com/qthequartermasterman
June 12, 2023 11:48https://github.com/python/typeshed/pull/10307#event-9501540488
https://github.com/srittau
srittauhttps://github.com/srittau
Jun 12, 2023 https://github.com/python/typeshed/pull/10307#pullrequestreview-1474914423
View reviewed changes https://github.com/python/typeshed/pull/10307/files/607b16f071aab3e4378e23b5ef58a43291b05307
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/10307#pullrequestreview-1474914423
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
the examplehttps://docs.python.org/3/library/argparse.html#argparse.Namespace
Please reload this pagehttps://github.com/python/typeshed/pull/10307
https://github.com/qthequartermasterman
add namespace only typehint to argparse and remove namespace typevar …https://github.com/python/typeshed/pull/10307/commits/884991378ba5e3d6909b1864d44c04446ebce07c
8849913https://github.com/python/typeshed/pull/10307/commits/884991378ba5e3d6909b1864d44c04446ebce07c
https://github.com/qthequartermasterman
qthequartermastermanhttps://github.com/qthequartermasterman
Jun 12, 2023https://github.com/python/typeshed/pull/10307#issuecomment-1587484253
@srittauhttps://github.com/srittau
Please reload this pagehttps://github.com/python/typeshed/pull/10307
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/10307/commits/c74b4ce4d4a73ab0dbfb3dcda4240357f4046c03
c74b4cehttps://github.com/python/typeshed/pull/10307/commits/c74b4ce4d4a73ab0dbfb3dcda4240357f4046c03
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10307
https://github.com/srittau
srittauhttps://github.com/srittau
Jun 12, 2023 https://github.com/python/typeshed/pull/10307#pullrequestreview-1475140466
View reviewed changes https://github.com/python/typeshed/pull/10307/files/c74b4ce4d4a73ab0dbfb3dcda4240357f4046c03
stdlib/argparse.pyihttps://github.com/python/typeshed/pull/10307/files/c74b4ce4d4a73ab0dbfb3dcda4240357f4046c03#diff-0f03d170395270d65d4a92bc35cb6d69d07317ea1604148953dcf6253cdaeab1
srittauhttps://github.com/srittau
Jun 12, 2023https://github.com/python/typeshed/pull/10307#discussion_r1226806549
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/pytest-dev/pytest/blob/2d824329ebf5455aaf4c6f8aa29afff401abe315/src/_pytest/config/argparsing.py#LL439C37-L439C53https://github.com/pytest-dev/pytest/blob/2d824329ebf5455aaf4c6f8aa29afff401abe315/src/_pytest/config/argparsing.py#LL439C37-L439C53
Please reload this pagehttps://github.com/python/typeshed/pull/10307
qthequartermastermanhttps://github.com/qthequartermasterman
Jun 12, 2023https://github.com/python/typeshed/pull/10307#discussion_r1226828624
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/10307
qthequartermastermanhttps://github.com/qthequartermasterman
Jun 12, 2023https://github.com/python/typeshed/pull/10307#discussion_r1226887798
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/10307
https://github.com/srittau
srittauhttps://github.com/srittau
Jun 12, 2023https://github.com/python/typeshed/pull/10307#issuecomment-1587512881
Please reload this pagehttps://github.com/python/typeshed/pull/10307
https://github.com/qthequartermasterman
change namespace None overload hint to optional namespacehttps://github.com/python/typeshed/pull/10307/commits/71db96570416b6c34764ea999e3ba72a64102e28
71db965https://github.com/python/typeshed/pull/10307/commits/71db96570416b6c34764ea999e3ba72a64102e28
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 12, 2023https://github.com/python/typeshed/pull/10307#issuecomment-1587560300
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/10307
https://github.com/srittau
srittauhttps://github.com/srittau
Jun 12, 2023 https://github.com/python/typeshed/pull/10307#pullrequestreview-1475357775
View reviewed changes https://github.com/python/typeshed/pull/10307/files/71db96570416b6c34764ea999e3ba72a64102e28
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/10307#pullrequestreview-1475357775
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/10307
https://github.com/srittau
srittauhttps://github.com/srittau
9ca4724https://github.com/python/typeshed/commit/9ca472420429c36317f280cad9db81eb72e2f5ac
Jun 12, 2023https://github.com/python/typeshed/pull/10307#event-9505007603
https://github.com/Akuli
Akulihttps://github.com/Akuli
Jun 12, 2023https://github.com/python/typeshed/pull/10307#issuecomment-1587726408
#8553https://github.com/python/typeshed/pull/8553
Please reload this pagehttps://github.com/python/typeshed/pull/10307
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 15, 2023 https://github.com/python/typeshed/pull/10307#ref-pullrequest-1759067251
Sync typeshed python/mypy#15444 https://github.com/python/mypy/pull/15444
Jakob-Stadlerhttps://github.com/Jakob-Stadler
Jun 30, 2023 https://github.com/python/typeshed/pull/10307#ref-commit-a12975b
https://github.com/Jakob-Stadler
Fix namespace argument regression in argparse.parse_argshttps://github.com/Jakob-Stadler/typeshed/commit/a12975bd8f4a6cdbd05b94bdc4f86a3408061db0
a12975bhttps://github.com/Jakob-Stadler/typeshed/commit/a12975bd8f4a6cdbd05b94bdc4f86a3408061db0
python#10307https://github.com/python/typeshed/pull/10307
https://github.com/Jakob-Stadler
Jakob-Stadlerhttps://github.com/Jakob-Stadler
Jun 30, 2023 https://github.com/python/typeshed/pull/10307#ref-pullrequest-1782154823
Fix namespace argument regression in argparse.parse_args #10387 https://github.com/python/typeshed/pull/10387
https://github.com/debonte
debontehttps://github.com/debonte
Jul 3, 2023 https://github.com/python/typeshed/pull/10307#ref-issue-1786108877
[2023.6.40 regression] Wrong inferred type with ArgumentParser.parse_args(namespace=) microsoft/pylance-release#4569 https://github.com/microsoft/pylance-release/issues/4569
https://github.com/lkct
lkcthttps://github.com/lkct
Jul 3, 2023 https://github.com/python/typeshed/pull/10307#ref-issue-1786492725
ArgumentParser.parse_args with Namespace subclass does not work anymore #10400 https://github.com/python/typeshed/issues/10400
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Aug 12, 2023 https://github.com/python/typeshed/pull/10307#ref-issue-1846124949
Version 1.5.0 breaks argpare.parse_args(namespace) python/mypy#15847 https://github.com/python/mypy/issues/15847
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F10307
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/10307/files/71db96570416b6c34764ea999e3ba72a64102e28
Please reload this pagehttps://github.com/python/typeshed/pull/10307
Please reload this pagehttps://github.com/python/typeshed/pull/10307
https://github.com/qthequartermasterman
https://github.com/srittau
https://github.com/Akuli
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.