René's URL Explorer Experiment


Title: Warnings overhaul by harshil21 · Pull Request #2662 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: Warnings overhaul by harshil21 · Pull Request #2662 · python-telegram-bot/python-telegram-bot

X Title: Warnings overhaul by harshil21 · Pull Request #2662 · python-telegram-bot/python-telegram-bot

Description: We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub.

Open Graph Description: Closes #2467 Notes: Made Telegram{User, Deprecation}Warning public and is accessible by telegram.utils.deprecate. We can change it later depending on Clear up imports policy #2468. Edit: Review n...

X Description: Closes #2467 Notes: Made Telegram{User, Deprecation}Warning public and is accessible by telegram.utils.deprecate. We can change it later depending on Clear up imports policy #2468. Edit: Review n...

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/2662

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/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:345fb57e-adce-19a8-8f7f-d4368644e411
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEDFA:28264A:9E6DBF:D0E07D:6B026274
html-safe-nonce097824f99cc4541e7959646370a944b9f90b4e0510dd87059f20c77948b05e55
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREZBOjI4MjY0QTo5RTZEQkY6RDBFMDdEOjZCMDI2Mjc0IiwidmlzaXRvcl9pZCI6IjUzOTU5MjUwNDUzNTQ4NDg4ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf04e21d216f5d9ce48fb4fcd80c528b35d9a31bd95ea8961fa2c96ea8aa143c2
hovercard-subject-tagpull_request:735524417
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits
twitter:imagehttps://opengraph.githubassets.com/e172e67d4517d626b9247030075f0b94ab2ee378468440c86adb178e7892bf6d/python-telegram-bot/python-telegram-bot/pull/2662
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e172e67d4517d626b9247030075f0b94ab2ee378468440c86adb178e7892bf6d/python-telegram-bot/python-telegram-bot/pull/2662
og:image:altCloses #2467 Notes: Made Telegram{User, Deprecation}Warning public and is accessible by telegram.utils.deprecate. We can change it later depending on Clear up imports policy #2468. Edit: Review n...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameharshil21
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F2662%2Fcommits
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-telegram-bot%2Fpython-telegram-bot%2Fpull%2F2662%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits
python-telegram-bothttps://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Codehttps://github.com/python-telegram-bot/python-telegram-bot
Issues23 (23)https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests19 (19)https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussionshttps://github.com/python-telegram-bot/python-telegram-bot/discussions
Actionshttps://github.com/python-telegram-bot/python-telegram-bot/actions
Projectshttps://github.com/python-telegram-bot/python-telegram-bot/projects
Wikihttps://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and qualityhttps://github.com/python-telegram-bot/python-telegram-bot/security
Insightshttps://github.com/python-telegram-bot/python-telegram-bot/insights
https://github.com/python-telegram-bot/python-telegram-bot
Bibo-Joshihttps://github.com/Bibo-Joshi
v14https://github.com/python-telegram-bot/python-telegram-bot/tree/v14
warnings-overhaulhttps://github.com/python-telegram-bot/python-telegram-bot/tree/warnings-overhaul
Conversationhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662
Commits16 (16)https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits
Checkshttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/checks
Files changedhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/files
Warnings overhaulhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits#top
Bibo-Joshihttps://github.com/Bibo-Joshi
v14https://github.com/python-telegram-bot/python-telegram-bot/tree/v14
warnings-overhaulhttps://github.com/python-telegram-bot/python-telegram-bot/tree/warnings-overhaul
Add TGUserWarning class & change inheritance of TGDeprecationWarninghttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/5b2e6b927e8a2ce9760404698495c8d2d53b1b1f
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
5b2e6b9https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/5b2e6b927e8a2ce9760404698495c8d2d53b1b1f
https://github.com/python-telegram-bot/python-telegram-bot/tree/5b2e6b927e8a2ce9760404698495c8d2d53b1b1f
warnings.warn <-> logging.warnhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/0e97b27e9778cc3b01166e30f69f00937546df50
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
0e97b27https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/0e97b27e9778cc3b01166e30f69f00937546df50
https://github.com/python-telegram-bot/python-telegram-bot/tree/0e97b27e9778cc3b01166e30f69f00937546df50
update tests to match changeshttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/f51213a57a239f45cff110473ec27514ed4e8133
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
f51213ahttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/f51213a57a239f45cff110473ec27514ed4e8133
https://github.com/python-telegram-bot/python-telegram-bot/tree/f51213a57a239f45cff110473ec27514ed4e8133
Add TG{User,Depreaction}Warning to docshttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/c05786d41dba4b12f7a50aca2ade08b60af7842e
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
c05786dhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/c05786d41dba4b12f7a50aca2ade08b60af7842e
https://github.com/python-telegram-bot/python-telegram-bot/tree/c05786d41dba4b12f7a50aca2ade08b60af7842e
add versionadded directivehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/d0a494576e44f89a2cae4cb215f89641e24c718a
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
d0a4945https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/d0a494576e44f89a2cae4cb215f89641e24c718a
https://github.com/python-telegram-bot/python-telegram-bot/tree/d0a494576e44f89a2cae4cb215f89641e24c718a
remove unused importhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/d0e4c39c491d45f1e1e9fd755014b955a6bcb693
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
d0e4c39https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/d0e4c39c491d45f1e1e9fd755014b955a6bcb693
https://github.com/python-telegram-bot/python-telegram-bot/tree/d0e4c39c491d45f1e1e9fd755014b955a6bcb693
improve coveragehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/ede6bba1ae2d5cc1b120208ca0af5c228d507cab
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
ede6bbahttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/ede6bba1ae2d5cc1b120208ca0af5c228d507cab
https://github.com/python-telegram-bot/python-telegram-bot/tree/ede6bba1ae2d5cc1b120208ca0af5c228d507cab
rename deprecate.py to warnings.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/591b9d28d742165c2938357f1bb6edcdb8649eeb
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
591b9d2https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/591b9d28d742165c2938357f1bb6edcdb8649eeb
https://github.com/python-telegram-bot/python-telegram-bot/tree/591b9d28d742165c2938357f1bb6edcdb8649eeb
rename TG*Warnings to PTB*Warninghttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/7712945c9408d847cd481092f6be2afa924073f8
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
7712945https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/7712945c9408d847cd481092f6be2afa924073f8
https://github.com/python-telegram-bot/python-telegram-bot/tree/7712945c9408d847cd481092f6be2afa924073f8
Add shortcut warn() and PTBRuntimeWarninghttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/ade6ffcb8f1bb28c93ab17eba1ddc021be047547
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
ade6ffchttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/ade6ffcb8f1bb28c93ab17eba1ddc021be047547
https://github.com/python-telegram-bot/python-telegram-bot/tree/ade6ffcb8f1bb28c93ab17eba1ddc021be047547
update warnings.py file docstringhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/2c75577fc01b2df77665431451ea4b3b899d9570
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
2c75577https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/2c75577fc01b2df77665431451ea4b3b899d9570
https://github.com/python-telegram-bot/python-telegram-bot/tree/2c75577fc01b2df77665431451ea4b3b899d9570
add more version directiveshttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/56401fa797aaa0dd9801fa4bcdc1ccc3921798e7
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
56401fahttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/56401fa797aaa0dd9801fa4bcdc1ccc3921798e7
https://github.com/python-telegram-bot/python-telegram-bot/tree/56401fa797aaa0dd9801fa4bcdc1ccc3921798e7
fix: rename deprecate.rst to warnings.rsthttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/58afa729defb09e0bca692970b2b3d5152228f3b
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
58afa72https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/58afa729defb09e0bca692970b2b3d5152228f3b
https://github.com/python-telegram-bot/python-telegram-bot/tree/58afa729defb09e0bca692970b2b3d5152228f3b
modify stacklevel argument and update docshttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/917ad34e6b9a9af4fce6d138719aa48bf8df1672
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
917ad34https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/917ad34e6b9a9af4fce6d138719aa48bf8df1672
https://github.com/python-telegram-bot/python-telegram-bot/tree/917ad34e6b9a9af4fce6d138719aa48bf8df1672
update warning msg about per_message to include fallbackshttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/b4c956f2695119e42b4bb3ed31a205c7402cfd9a
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
b4c956fhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/b4c956f2695119e42b4bb3ed31a205c7402cfd9a
https://github.com/python-telegram-bot/python-telegram-bot/tree/b4c956f2695119e42b4bb3ed31a205c7402cfd9a
update tests and improve coveragehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/cf4d636f45a099320996f762c63b0a740e000307
https://github.com/harshil21
harshil21https://github.com/python-telegram-bot/python-telegram-bot/commits?author=harshil21
cf4d636https://github.com/python-telegram-bot/python-telegram-bot/pull/2662/commits/cf4d636f45a099320996f762c63b0a740e000307
https://github.com/python-telegram-bot/python-telegram-bot/tree/cf4d636f45a099320996f762c63b0a740e000307
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.