Title: Suboptimal stacklevel of deprecation warnings for formatter and imp modules · Issue #67998 · python/cpython · GitHub
Open Graph Title: Suboptimal stacklevel of deprecation warnings for formatter and imp modules · Issue #67998 · python/cpython
X Title: Suboptimal stacklevel of deprecation warnings for formatter and imp modules · Issue #67998 · python/cpython
Description: BPO 23810 Nosy @brettcannon, @ncoghlan, @larryhastings, @ericsnowcurrently, @berkerpeksag, @serhiy-storchaka Superseder bpo-24305: The new import system makes it inconvenient to correctly issue a deprecation warning for a module Files be...
Open Graph Description: BPO 23810 Nosy @brettcannon, @ncoghlan, @larryhastings, @ericsnowcurrently, @berkerpeksag, @serhiy-storchaka Superseder bpo-24305: The new import system makes it inconvenient to correctly issue a d...
X Description: BPO 23810 Nosy @brettcannon, @ncoghlan, @larryhastings, @ericsnowcurrently, @berkerpeksag, @serhiy-storchaka Superseder bpo-24305: The new import system makes it inconvenient to correctly issue a d...
Opengraph URL: https://github.com/python/cpython/issues/67998
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suboptimal stacklevel of deprecation warnings for formatter and imp modules","articleBody":"BPO | [23810](https://bugs.python.org/issue23810)\n--- | :---\nNosy | @brettcannon, @ncoghlan, @larryhastings, @ericsnowcurrently, @berkerpeksag, @serhiy-storchaka\nSuperseder | \u003cli\u003ebpo-24305: The new import system makes it inconvenient to correctly issue a deprecation warning for a module\u003c/li\u003e\nFiles | \u003cli\u003e[better_stacklevel.diff](https://bugs.python.org/file39196/better_stacklevel.diff \"Uploaded as text/plain at 2015-04-24.15:14:30 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[deprecated_module_stacklevel.diff](https://bugs.python.org/file39550/deprecated_module_stacklevel.diff \"Uploaded as text/plain at 2015-05-29.17:40:56 by @brettcannon\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/brettcannon'\nclosed_at = \u003cDate 2015-08-14.18:18:33.979\u003e\ncreated_at = \u003cDate 2015-03-30.01:54:14.679\u003e\nlabels = ['deferred-blocker', 'type-bug', 'library']\ntitle = 'Suboptimal stacklevel of deprecation warnings for formatter and imp modules'\nupdated_at = \u003cDate 2015-08-14.18:18:57.969\u003e\nuser = 'https://bugs.python.org/Arfrever'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2015-08-14.18:18:57.969\u003e\nactor = 'brett.cannon'\nassignee = 'brett.cannon'\nclosed = True\nclosed_date = \u003cDate 2015-08-14.18:18:33.979\u003e\ncloser = 'brett.cannon'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2015-03-30.01:54:14.679\u003e\ncreator = 'Arfrever'\ndependencies = []\nfiles = ['39196', '39550']\nhgrepos = []\nissue_num = 23810\nkeywords = ['patch']\nmessage_count = 11.0\nmessages = ['239554', '239607', '239610', '241944', '241968', '242015', '244260', '244304', '244396', '246285', '248600']\nnosy_count = 7.0\nnosy_names = ['brett.cannon', 'ncoghlan', 'larry', 'Arfrever', 'eric.snow', 'berker.peksag', 'serhiy.storchaka']\npr_nums = []\npriority = 'deferred blocker'\nresolution = 'duplicate'\nstage = 'patch review'\nstatus = 'closed'\nsuperseder = '24305'\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue23810'\nversions = ['Python 3.5', 'Python 3.6']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/Arfrever","@type":"Person","name":"Arfrever"},"datePublished":"2015-03-30T01:54:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/67998/cpython/issues/67998"}
| 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:d02860b4-d644-caea-dcf8-69c68b5d1cc0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E55E:162B2:146FA2E:1C6AFE6:6A4EA8F0 |
| html-safe-nonce | 942ad2a20e40be6c740cbe2e68f11ea13eed311e7150371cb734923386a251ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTVFOjE2MkIyOjE0NkZBMkU6MUM2QUZFNjo2QTRFQThGMCIsInZpc2l0b3JfaWQiOiI5MDc0MDkwOTQ1NTAzMjA5NzEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b326a2b3ace3ed8aa7025b07410bdcaee3d2a18c4f3cee2e8377eb94fe4f8448 |
| hovercard-subject-tag | issue:1198933295 |
| 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/67998/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7e5c5ff15599efe13e1a8e3401bcbc0532d7c00874dcc5a5343efcb018e292ac/python/cpython/issues/67998 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7e5c5ff15599efe13e1a8e3401bcbc0532d7c00874dcc5a5343efcb018e292ac/python/cpython/issues/67998 |
| og:image:alt | BPO 23810 Nosy @brettcannon, @ncoghlan, @larryhastings, @ericsnowcurrently, @berkerpeksag, @serhiy-storchaka Superseder bpo-24305: The new import system makes it inconvenient to correctly issue a d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Arfrever |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width