René's URL Explorer Experiment


Title: Deprecations · Issue #26 · DHI/python-package-development · GitHub

Open Graph Title: Deprecations · Issue #26 · DHI/python-package-development

X Title: Deprecations · Issue #26 · DHI/python-package-development

Description: https://docs.python.org/3/library/warnings.html#warnings.deprecated Added in version 3.13: See PEP 702. from warnings import deprecated @deprecated("Use the new way instead") def the_old_way(): print("God dag!") def main(): print("Hello ...

Open Graph Description: https://docs.python.org/3/library/warnings.html#warnings.deprecated Added in version 3.13: See PEP 702. from warnings import deprecated @deprecated("Use the new way instead") def the_old_way(): pri...

X Description: https://docs.python.org/3/library/warnings.html#warnings.deprecated Added in version 3.13: See PEP 702. from warnings import deprecated @deprecated("Use the new way instead") def the_old_...

Opengraph URL: https://github.com/DHI/python-package-development/issues/26

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecations","articleBody":"![Image](https://github.com/user-attachments/assets/7c66a9c7-b65f-4a05-9607-4ef111061f93)\n\nhttps://docs.python.org/3/library/warnings.html#warnings.deprecated\n*Added in version 3.13: See [PEP 702](https://peps.python.org/pep-0702/).*\n\n```python\nfrom warnings import deprecated\n\n@deprecated(\"Use the new way instead\")\ndef the_old_way():\n    print(\"God dag!\")\n\n\ndef main():\n    print(\"Hello from foo!\")\n\n\nif __name__ == \"__main__\":\n    main()\n    the_old_way()\n```\n\n```bash\n$ uv run mypy main.py --enable-error-code=deprecated\nmain.py:15: error: function main.the_old_way is deprecated: Use the new way instead  [deprecated]\nFound 1 error in 1 file (checked 1 source file)\n```","author":{"url":"https://github.com/ecomodeller","@type":"Person","name":"ecomodeller"},"datePublished":"2025-03-31T12:39:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/26/python-package-development/issues/26"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0bed0204-e975-4bb3-3bdf-24462cb8c59f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id98B0:B22A0:28B9218:3695FBF:696EE68F
html-safe-noncea4f5b334a5f022d7a49ac57566705eeb12c156dcab6c59d043f3808fe735931f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEIwOkIyMkEwOjI4QjkyMTg6MzY5NUZCRjo2OTZFRTY4RiIsInZpc2l0b3JfaWQiOiI4NDM2NTc4MTc3OTY1Mjg3MDU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9c31c41a600415625acad4087570b60a39eb7937d1579d972887e204535c50f9
hovercard-subject-tagissue:2960383738
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/DHI/python-package-development/26/issue_layout
twitter:imagehttps://opengraph.githubassets.com/71b49c8f0c00dfe6dca1b89866f861f93d8170f4c4a3724397549a29bc107d97/DHI/python-package-development/issues/26
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/71b49c8f0c00dfe6dca1b89866f861f93d8170f4c4a3724397549a29bc107d97/DHI/python-package-development/issues/26
og:image:althttps://docs.python.org/3/library/warnings.html#warnings.deprecated Added in version 3.13: See PEP 702. from warnings import deprecated @deprecated("Use the new way instead") def the_old_way(): pri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameecomodeller
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
go-importgithub.com/DHI/python-package-development git https://github.com/DHI/python-package-development.git
octolytics-dimension-user_id32934768
octolytics-dimension-user_loginDHI
octolytics-dimension-repository_id595599266
octolytics-dimension-repository_nwoDHI/python-package-development
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id595599266
octolytics-dimension-repository_network_root_nwoDHI/python-package-development
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
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/DHI/python-package-development/issues/26#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FDHI%2Fpython-package-development%2Fissues%2F26
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FDHI%2Fpython-package-development%2Fissues%2F26
Sign up https://patch-diff.githubusercontent.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=DHI%2Fpython-package-development
Reloadhttps://patch-diff.githubusercontent.com/DHI/python-package-development/issues/26
Reloadhttps://patch-diff.githubusercontent.com/DHI/python-package-development/issues/26
Reloadhttps://patch-diff.githubusercontent.com/DHI/python-package-development/issues/26
DHI https://patch-diff.githubusercontent.com/DHI
python-package-developmenthttps://patch-diff.githubusercontent.com/DHI/python-package-development
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FDHI%2Fpython-package-development
Fork 1 https://patch-diff.githubusercontent.com/login?return_to=%2FDHI%2Fpython-package-development
Star 7 https://patch-diff.githubusercontent.com/login?return_to=%2FDHI%2Fpython-package-development
Code https://patch-diff.githubusercontent.com/DHI/python-package-development
Issues 5 https://patch-diff.githubusercontent.com/DHI/python-package-development/issues
Pull requests 0 https://patch-diff.githubusercontent.com/DHI/python-package-development/pulls
Discussions https://patch-diff.githubusercontent.com/DHI/python-package-development/discussions
Actions https://patch-diff.githubusercontent.com/DHI/python-package-development/actions
Projects 0 https://patch-diff.githubusercontent.com/DHI/python-package-development/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/DHI/python-package-development/security
Please reload this pagehttps://patch-diff.githubusercontent.com/DHI/python-package-development/issues/26
Insights https://patch-diff.githubusercontent.com/DHI/python-package-development/pulse
Code https://patch-diff.githubusercontent.com/DHI/python-package-development
Issues https://patch-diff.githubusercontent.com/DHI/python-package-development/issues
Pull requests https://patch-diff.githubusercontent.com/DHI/python-package-development/pulls
Discussions https://patch-diff.githubusercontent.com/DHI/python-package-development/discussions
Actions https://patch-diff.githubusercontent.com/DHI/python-package-development/actions
Projects https://patch-diff.githubusercontent.com/DHI/python-package-development/projects
Security https://patch-diff.githubusercontent.com/DHI/python-package-development/security
Insights https://patch-diff.githubusercontent.com/DHI/python-package-development/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/DHI/python-package-development/issues/26
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/DHI/python-package-development/issues/26
Deprecationshttps://patch-diff.githubusercontent.com/DHI/python-package-development/issues/26#top
https://github.com/ecomodeller
https://github.com/ecomodeller
ecomodellerhttps://github.com/ecomodeller
on Mar 31, 2025https://github.com/DHI/python-package-development/issues/26#issue-2960383738
https://private-user-images.githubusercontent.com/614215/428615298-7c66a9c7-b65f-4a05-9607-4ef111061f93.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg4NzU5NjMsIm5iZiI6MTc2ODg3NTY2MywicGF0aCI6Ii82MTQyMTUvNDI4NjE1Mjk4LTdjNjZhOWM3LWI2NWYtNGEwNS05NjA3LTRlZjExMTA2MWY5My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMTIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDEyMFQwMjIxMDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iMGY5YjNhZDVmNzVmNDk0ODc1MGRmOTA4M2YzYTQ0YTg2NDJhMzEwYTIzM2M4ZTlmYTllY2EyZWZmYmM4NmJhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.CYCxvefhHcIrqRWwkNxtBcwSBDDH8ziBVxXnOov9P5w
https://docs.python.org/3/library/warnings.html#warnings.deprecatedhttps://docs.python.org/3/library/warnings.html#warnings.deprecated
PEP 702https://peps.python.org/pep-0702/
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.