René's URL Explorer Experiment


Title: Add PEP 484 -- Type Hints · Issue #368 · python-ldap/python-ldap · GitHub

Open Graph Title: Add PEP 484 -- Type Hints · Issue #368 · python-ldap/python-ldap

X Title: Add PEP 484 -- Type Hints · Issue #368 · python-ldap/python-ldap

Description: Python supports type hints to improve static analysis: https://www.python.org/dev/peps/pep-0484/ This helps to identify cases, were wrong types are passed into functions et al by using type checkers likehttp://mypy-lang.org/ or https://g...

Open Graph Description: Python supports type hints to improve static analysis: https://www.python.org/dev/peps/pep-0484/ This helps to identify cases, were wrong types are passed into functions et al by using type checker...

X Description: Python supports type hints to improve static analysis: https://www.python.org/dev/peps/pep-0484/ This helps to identify cases, were wrong types are passed into functions et al by using type checker...

Opengraph URL: https://github.com/python-ldap/python-ldap/issues/368

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add PEP 484 -- Type Hints","articleBody":"Python supports type hints to improve static analysis:\r\n\u003chttps://www.python.org/dev/peps/pep-0484/\u003e\r\nThis helps to identify cases, were wrong types are passed into functions et al by using type checkers like\u003chttp://mypy-lang.org/\u003e or \u003chttps://github.com/google/pytype/\u003e.\r\n\r\n`python-ldap` does not yet seem to contain those annotations nor am I aware of any project doing that.\r\nThose annotation can either we added directly in the library like\r\n\r\n\u003e def func(arg: str, val: int = 0) -\u003e Tuple[int, str]\r\n\r\nsince Python 3.5 or in a Python-2 backward compatible way as\r\n\r\n\u003e def func(arg, val=0):  # type: (str, int) -\u003e Tuple[int, str]\r\n\r\nAs an alternative the annotations can be put into so-called \"stub files\" names \"*.pyi\", which are collected by \u003chttps://github.com/python/typeshed\u003e, but inline annotations are preferred as they are easier to keep in sync.\r\n\r\n\r\nI started working on that, but other projects have preempted that\r\neffort. My current work is at\r\n\u003chttps://github.com/univention/typeshed/commit/8fc5f796d4ef009e5cf8282575ae304994170b25\u003e,\r\nbut it not much more then generating the stubs using `stubgen`.\r\nIf someone wants to join that effort that is much appreciated.\r\n\r\n\r\nThis was proposed to the [Mailing List](https://mail.python.org/pipermail/python-ldap/2020q2/004098.html).\r\n@tiran proposed to start the work only after the Python 2 legacy code is removed:\r\n\u003e we are planning to drop support for Python 3.5 and earlier in the next\r\n\u003e version of python-ldap. This would make it simpler to add signatures for\r\n\u003e type hints directly to the code base. Patches are welcome, but please\r\n\u003e wait until we have finalized Python 2 cleanup in master.","author":{"url":"https://github.com/pmhahn","@type":"Person","name":"pmhahn"},"datePublished":"2020-07-01T16:41:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/368/python-ldap/issues/368"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6e04bc0c-f0ec-4614-70bd-f97a766f94df
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF0A:140E58:49C542B:5F94147:697500FB
html-safe-nonce9bad356d689508d117f42ee5b8ad79a55b704dd336a587cff2280892d57b5669
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjBBOjE0MEU1ODo0OUM1NDJCOjVGOTQxNDc6Njk3NTAwRkIiLCJ2aXNpdG9yX2lkIjoiNTk1MDI1MDQ0NTc4NjM0MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd0f75a02404ec327be50f042b0abd8c8daa8ddfe579ca0a404a1e2fe10f7115f
hovercard-subject-tagissue:649122595
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-ldap/python-ldap/368/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b73e8649952fd770895e71fce3bff7212706a74145e53b00d11ec32e1c9295fc/python-ldap/python-ldap/issues/368
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b73e8649952fd770895e71fce3bff7212706a74145e53b00d11ec32e1c9295fc/python-ldap/python-ldap/issues/368
og:image:altPython supports type hints to improve static analysis: https://www.python.org/dev/peps/pep-0484/ This helps to identify cases, were wrong types are passed into functions et al by using type checker...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepmhahn
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/python-ldap/python-ldap git https://github.com/python-ldap/python-ldap.git
octolytics-dimension-user_id33895877
octolytics-dimension-user_loginpython-ldap
octolytics-dimension-repository_id111794776
octolytics-dimension-repository_nwopython-ldap/python-ldap
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id111794776
octolytics-dimension-repository_network_root_nwopython-ldap/python-ldap
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
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-ldap/python-ldap/issues/368#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-ldap%2Fpython-ldap%2Fissues%2F368
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-ldap%2Fpython-ldap%2Fissues%2F368
Sign up https://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-ldap%2Fpython-ldap
Reloadhttps://github.com/python-ldap/python-ldap/issues/368
Reloadhttps://github.com/python-ldap/python-ldap/issues/368
Reloadhttps://github.com/python-ldap/python-ldap/issues/368
python-ldap https://github.com/python-ldap
python-ldaphttps://github.com/python-ldap/python-ldap
Notifications https://github.com/login?return_to=%2Fpython-ldap%2Fpython-ldap
Fork 137 https://github.com/login?return_to=%2Fpython-ldap%2Fpython-ldap
Star 436 https://github.com/login?return_to=%2Fpython-ldap%2Fpython-ldap
Code https://github.com/python-ldap/python-ldap
Issues 83 https://github.com/python-ldap/python-ldap/issues
Pull requests 19 https://github.com/python-ldap/python-ldap/pulls
Actions https://github.com/python-ldap/python-ldap/actions
Projects 0 https://github.com/python-ldap/python-ldap/projects
Security 3 https://github.com/python-ldap/python-ldap/security
Insights https://github.com/python-ldap/python-ldap/pulse
Code https://github.com/python-ldap/python-ldap
Issues https://github.com/python-ldap/python-ldap/issues
Pull requests https://github.com/python-ldap/python-ldap/pulls
Actions https://github.com/python-ldap/python-ldap/actions
Projects https://github.com/python-ldap/python-ldap/projects
Security https://github.com/python-ldap/python-ldap/security
Insights https://github.com/python-ldap/python-ldap/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-ldap/python-ldap/issues/368
New issuehttps://github.com/login?return_to=https://github.com/python-ldap/python-ldap/issues/368
Add PEP 484 -- Type Hintshttps://github.com/python-ldap/python-ldap/issues/368#top
help wantedhttps://github.com/python-ldap/python-ldap/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/pmhahn
https://github.com/pmhahn
pmhahnhttps://github.com/pmhahn
on Jul 1, 2020https://github.com/python-ldap/python-ldap/issues/368#issue-649122595
https://www.python.org/dev/peps/pep-0484/https://www.python.org/dev/peps/pep-0484/
http://mypy-lang.org/http://mypy-lang.org/
https://github.com/google/pytype/https://github.com/google/pytype/
https://github.com/python/typeshedhttps://github.com/python/typeshed
univention/typeshed@8fc5f79https://github.com/univention/typeshed/commit/8fc5f796d4ef009e5cf8282575ae304994170b25
Mailing Listhttps://mail.python.org/pipermail/python-ldap/2020q2/004098.html
@tiranhttps://github.com/tiran
help wantedhttps://github.com/python-ldap/python-ldap/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
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.