Title: Add SoftDeprecationWarning warning category · Issue #106137 · python/cpython · GitHub
Open Graph Title: Add SoftDeprecationWarning warning category · Issue #106137 · python/cpython
X Title: Add SoftDeprecationWarning warning category · Issue #106137 · python/cpython
Description: Implementation of my proposed PEP 387 "Soft Deprecation" policy: python/peps#3182 Add SoftDeprecationWarning warning category Ignore these warnings by default, except in the __main__ module (similar to PEP 565: Show DeprecationWarning in...
Open Graph Description: Implementation of my proposed PEP 387 "Soft Deprecation" policy: python/peps#3182 Add SoftDeprecationWarning warning category Ignore these warnings by default, except in the __main__ module (simila...
X Description: Implementation of my proposed PEP 387 "Soft Deprecation" policy: python/peps#3182 Add SoftDeprecationWarning warning category Ignore these warnings by default, except in the __main__ modu...
Opengraph URL: https://github.com/python/cpython/issues/106137
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add SoftDeprecationWarning warning category","articleBody":"Implementation of my proposed PEP 387 \"Soft Deprecation\" policy: https://github.com/python/peps/pull/3182\r\n\r\n* Add SoftDeprecationWarning warning category\r\n* Ignore these warnings by default, except in the ``__main__`` module (similar to [PEP 565: Show DeprecationWarning in __main__](https://peps.python.org/pep-0565/))\r\n\r\nAs an example, I propose to soft deprecate the getopt module: PR #105735 (currently, the PR uses a regular \"hard\" deprecation).\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-106142\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2023-06-27T12:44:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/106137/cpython/issues/106137"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d8c843d4-db93-945f-096d-45acf3f4e3ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A352:1ABC3A:448A23:599277:696B40DB |
| html-safe-nonce | 3db75e035f442df43d57970c22c6218bf24006db002800cd6ce1f2867693ed0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzUyOjFBQkMzQTo0NDhBMjM6NTk5Mjc3OjY5NkI0MERCIiwidmlzaXRvcl9pZCI6Ijc3Njc0NDM5NzE0MjMwMjc0MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 476e9907945d916c91a2d4ba484b3b67258e6c710bd05d0108984069bfdd048e |
| hovercard-subject-tag | issue:1776850816 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/106137/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b4148c2d026a793135546a8ff3bee8c8d18fc4d89d055bece69c94933851f906/python/cpython/issues/106137 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b4148c2d026a793135546a8ff3bee8c8d18fc4d89d055bece69c94933851f906/python/cpython/issues/106137 |
| og:image:alt | Implementation of my proposed PEP 387 "Soft Deprecation" policy: python/peps#3182 Add SoftDeprecationWarning warning category Ignore these warnings by default, except in the __main__ module (simila... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width