René's URL Explorer Experiment


Title: Multiple incompatibilities for the type of self · Issue #638 · python/typeshed · GitHub

Open Graph Title: Multiple incompatibilities for the type of self · Issue #638 · python/typeshed

X Title: Multiple incompatibilities for the type of self · Issue #638 · python/typeshed

Description: During my work (mypy/#2381) on a fix for mypy/#2374, I have encountered many bad signatures - mostly missing the self parameter - in the following methods (only a selection of them was chekced manually by me) Python3 stdlib/3/multiproces...

Open Graph Description: During my work (mypy/#2381) on a fix for mypy/#2374, I have encountered many bad signatures - mostly missing the self parameter - in the following methods (only a selection of them was chekced manu...

X Description: During my work (mypy/#2381) on a fix for mypy/#2374, I have encountered many bad signatures - mostly missing the self parameter - in the following methods (only a selection of them was chekced manu...

Opengraph URL: https://github.com/python/typeshed/issues/638

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple incompatibilities for the type of self","articleBody":"During my work ([mypy/#2381](https://github.com/python/mypy/pull/2381)) on a fix for [mypy/#2374](https://github.com/python/mypy/issues/2374), I have encountered many bad signatures - mostly missing the `self` parameter - in the following methods (only a selection of them was chekced manually by me)\n\nPython3\n1. [stdlib/3/multiprocessing/managers.pyi:8](../blob/master/stdlib/3/multiprocessing/managers.pyi#L8): `multiprocessing.managers.BaseManager.register`\n2. [stdlib/3/ssl.pyi:222](../blob/master/stdlib/3/ssl.pyi#L222): `ssl.SSLContext.set_alpn_protocols`\n3. [stdlib/3/ssl.pyi:223](../blob/master/stdlib/3/ssl.pyi#L223): `ssl.SSLContext.set_npn_protocols`\n4. [stdlib/3/ssl.pyi:234](../blob/master/stdlib/3/ssl.pyi#L234): `ssl.SSLContext.wrap_bio`\n5. [stdlib/3/unittest.pyi:141](../blob/master/stdlib/3/unittest.pyi#L141): `unittest.TestCase.addCleanup`\n6. [stdlib/3/urllib/request.pyi:120](../blob/master/stdlib/3/urllib/request.pyi#L120): `urllib.request.HTTPPasswordMgrWithPriorAuth.update_authenticated`\n7. [stdlib/3/urllib/request.pyi:122](../blob/master/stdlib/3/urllib/request.pyi#L122): `urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated`\n8. [stdlib/3/urllib/request.pyi:194](../blob/master/stdlib/3/urllib/request.pyi#L194): `urllib.request.URLopener.retrieve`\n9. [stdlib/3/urllib/request.pyi:77](../blob/master/stdlib/3/urllib/request.pyi#L77): `urllib.request.BaseHandler.http_error_nnn`\n10. [stdlib/3/urllib/robotparser.pyi:9](../blob/master/stdlib/3/urllib/robotparser.pyi#L9): `urllib.robotparser.RobotFileParser.__init__`\n\nPython2:\n1. [stdlib/2/imp.pyi:35](../blob/master/stdlib/2/imp.pyi#L35): `imp.NullImporter.find_module`\n2. [stdlib/2/select.pyi:97](../blob/master/stdlib/2/select.pyi#L97): `select.epoll.unregister`\n3. [stdlib/2/select.pyi:98](../blob/master/stdlib/2/select.pyi#L98): `select.epoll.poll`\n4. [stdlib/2/shlex.pyi:13](../blob/master/stdlib/2/shlex.pyi#L13): `shlex.shlex.error_leader`\n5. [stdlib/2/ssl.pyi:172](../blob/master/stdlib/2/ssl.pyi#L172): `ssl.SSLContext.set_alpn_protocols`\n6. [stdlib/2/ssl.pyi:173](../blob/master/stdlib/2/ssl.pyi#L173): `ssl.SSLContext.set_npn_protocols`\n7. [stdlib/2/_struct.pyi:12](../blob/master/stdlib/2/_struct.pyi#L12): `_struct.Struct.pack_into`\n8. [stdlib/2/_symtable.pyi:39](../blob/master/stdlib/2/_symtable.pyi#L39): `_symtable.symtable.__init__`\n9. [stdlib/2/tempfile.pyi:31](../blob/master/stdlib/2/tempfile.pyi#L31): `tempfile._RandomNameSequence.normcase`\n10. [stdlib/2/tempfile.pyi:45](../blob/master/stdlib/2/tempfile.pyi#L45): `tempfile._TemporaryFileWrapper.unlink`\n11. [The third overload of `file.__init__`](../blob/master/stdlib/2/__builtin__.pyi#L915):\n\n``` Python\n    def __init__(file: int, mode: str = 'r', buffering: int = ...) -> None: ...\n```\n\nAlso, tons of `__builtin__` mismatches (possibly spurious).\n\nThird party:\n1. [third_party/3/pkg_resources.pyi:228](../blob/master/third_party/3/pkg_resources.pyi#L228): `IMetadataProvider.*`\n2. [third_party/2/pymssql.pyi:21](../blob/master/third_party/2/pymssql.pyi#L21): `pymssql.Cursor.callproc`\n","author":{"url":"https://github.com/elazarg","@type":"Person","name":"elazarg"},"datePublished":"2016-10-29T23:01:44Z","url":"https://github.com/python/typeshed/issues/638"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:14cd47e1-f362-5bec-c35f-f272e7102fde
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE066:106F5D:25B07:33A14:6B0019E7
html-safe-nonce11ed309e4583bef6648ff2dfe220c6efddd503fb3e72b534191b5ac22d4bf3e9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDY2OjEwNkY1RDoyNUIwNzozM0ExNDo2QjAwMTlFNyIsInZpc2l0b3JfaWQiOiI3ODM2MTY5MTM3OTkzODc2MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8bcd4151f1c5468e4e1922f568a07cacd18c82d87cbebad33b88cc55b385e2fa
hovercard-subject-tagissue:186106054
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typeshed/638/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4f37fbd714b499c0dec89ae565e6f0e05666d0dbebe4f2e7c70bfb2c15881874/python/typeshed/issues/638
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4f37fbd714b499c0dec89ae565e6f0e05666d0dbebe4f2e7c70bfb2c15881874/python/typeshed/issues/638
og:image:altDuring my work (mypy/#2381) on a fix for mypy/#2374, I have encountered many bad signatures - mostly missing the self parameter - in the following methods (only a selection of them was chekced manu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameelazarg
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
turbo-cache-controlno-preview
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
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/typeshed/issues/638#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fissues%2F638
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%2Fissues%2F638
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://github.com/python/typeshed/issues/638
Reloadhttps://github.com/python/typeshed/issues/638
Reloadhttps://github.com/python/typeshed/issues/638
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
New issuehttps://github.com/login?return_to=https://github.com/python/typeshed/issues/638
New issuehttps://github.com/login?return_to=https://github.com/python/typeshed/issues/638
Multiple incompatibilities for the type of selfhttps://github.com/python/typeshed/issues/638#top
https://github.com/elazarg
elazarghttps://github.com/elazarg
on Oct 29, 2016https://github.com/python/typeshed/issues/638#issue-186106054
mypy/#2381https://github.com/python/mypy/pull/2381
mypy/#2374https://github.com/python/mypy/issues/2374
stdlib/3/multiprocessing/managers.pyi:8https://github.com/python/typeshed/blob/master/stdlib/3/multiprocessing/managers.pyi#L8
stdlib/3/ssl.pyi:222https://github.com/python/typeshed/blob/master/stdlib/3/ssl.pyi#L222
stdlib/3/ssl.pyi:223https://github.com/python/typeshed/blob/master/stdlib/3/ssl.pyi#L223
stdlib/3/ssl.pyi:234https://github.com/python/typeshed/blob/master/stdlib/3/ssl.pyi#L234
stdlib/3/unittest.pyi:141https://github.com/python/typeshed/blob/master/stdlib/3/unittest.pyi#L141
stdlib/3/urllib/request.pyi:120https://github.com/python/typeshed/blob/master/stdlib/3/urllib/request.pyi#L120
stdlib/3/urllib/request.pyi:122https://github.com/python/typeshed/blob/master/stdlib/3/urllib/request.pyi#L122
stdlib/3/urllib/request.pyi:194https://github.com/python/typeshed/blob/master/stdlib/3/urllib/request.pyi#L194
stdlib/3/urllib/request.pyi:77https://github.com/python/typeshed/blob/master/stdlib/3/urllib/request.pyi#L77
stdlib/3/urllib/robotparser.pyi:9https://github.com/python/typeshed/blob/master/stdlib/3/urllib/robotparser.pyi#L9
stdlib/2/imp.pyi:35https://github.com/python/typeshed/blob/master/stdlib/2/imp.pyi#L35
stdlib/2/select.pyi:97https://github.com/python/typeshed/blob/master/stdlib/2/select.pyi#L97
stdlib/2/select.pyi:98https://github.com/python/typeshed/blob/master/stdlib/2/select.pyi#L98
stdlib/2/shlex.pyi:13https://github.com/python/typeshed/blob/master/stdlib/2/shlex.pyi#L13
stdlib/2/ssl.pyi:172https://github.com/python/typeshed/blob/master/stdlib/2/ssl.pyi#L172
stdlib/2/ssl.pyi:173https://github.com/python/typeshed/blob/master/stdlib/2/ssl.pyi#L173
stdlib/2/_struct.pyi:12https://github.com/python/typeshed/blob/master/stdlib/2/_struct.pyi#L12
stdlib/2/_symtable.pyi:39https://github.com/python/typeshed/blob/master/stdlib/2/_symtable.pyi#L39
stdlib/2/tempfile.pyi:31https://github.com/python/typeshed/blob/master/stdlib/2/tempfile.pyi#L31
stdlib/2/tempfile.pyi:45https://github.com/python/typeshed/blob/master/stdlib/2/tempfile.pyi#L45
The third overload of file.__init__https://github.com/python/typeshed/blob/master/stdlib/2/__builtin__.pyi#L915
third_party/3/pkg_resources.pyi:228https://github.com/python/typeshed/blob/master/third_party/3/pkg_resources.pyi#L228
third_party/2/pymssql.pyi:21https://github.com/python/typeshed/blob/master/third_party/2/pymssql.pyi#L21
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Oct 30, 2016https://github.com/python/typeshed/issues/638#issuecomment-257165692
gvanrossumhttps://github.com/gvanrossum
completedhttps://github.com/python/typeshed/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 4, 2016https://github.com/python/typeshed/issues/638#event-848547675
hswong3ihttps://github.com/hswong3i
on Aug 22, 2025https://github.com/python/typeshed/issues/638#event-19283262730
Bump astral-sh/setup-uv from 6.4.1 to 6.4.3 in the actions group (pyt…https://github.com/alvistack/python-typeshed/commit/972bd875e252da894b44afb643c1de78247ebab3
pyt…https://github.com/python/typeshed/issues/638
972bd87https://github.com/alvistack/python-typeshed/commit/972bd875e252da894b44afb643c1de78247ebab3
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/typeshed/issues/638
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/typeshed/issues/638
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.