Title: Replace contextmanager example and improve explanation · Issue #66568 · python/cpython · GitHub
Open Graph Title: Replace contextmanager example and improve explanation · Issue #66568 · python/cpython
X Title: Replace contextmanager example and improve explanation · Issue #66568 · python/cpython
Description: BPO 22374 Nosy @terryjreedy, @ncoghlan, @berkerpeksag, @vadmium, @serhiy-storchaka, @cowlinator Superseder bpo-33468: Add try-finally contextlib.contextmanager example Files issue22374.diff Note: these values reflect the state of the iss...
Open Graph Description: BPO 22374 Nosy @terryjreedy, @ncoghlan, @berkerpeksag, @vadmium, @serhiy-storchaka, @cowlinator Superseder bpo-33468: Add try-finally contextlib.contextmanager example Files issue22374.diff Note: t...
X Description: BPO 22374 Nosy @terryjreedy, @ncoghlan, @berkerpeksag, @vadmium, @serhiy-storchaka, @cowlinator Superseder bpo-33468: Add try-finally contextlib.contextmanager example Files issue22374.diff Note: t...
Opengraph URL: https://github.com/python/cpython/issues/66568
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replace contextmanager example and improve explanation","articleBody":"BPO | [22374](https://bugs.python.org/issue22374)\n--- | :---\nNosy | @terryjreedy, @ncoghlan, @berkerpeksag, @vadmium, @serhiy-storchaka, @cowlinator\nSuperseder | \u003cli\u003ebpo-33468: Add try-finally contextlib.contextmanager example\u003c/li\u003e\nFiles | \u003cli\u003e[issue22374.diff](https://bugs.python.org/file43095/issue22374.diff \"Uploaded as text/plain at 2016-06-02.01:59:49 by @berkerpeksag\")\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 = None\nclosed_at = \u003cDate 2018-07-26.05:37:12.142\u003e\ncreated_at = \u003cDate 2014-09-09.20:58:12.291\u003e\nlabels = ['type-feature', '3.7', 'docs']\ntitle = 'Replace contextmanager example and improve explanation'\nupdated_at = \u003cDate 2018-07-26.05:37:12.141\u003e\nuser = 'https://github.com/terryjreedy'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-07-26.05:37:12.141\u003e\nactor = 'berker.peksag'\nassignee = 'docs@python'\nclosed = True\nclosed_date = \u003cDate 2018-07-26.05:37:12.142\u003e\ncloser = 'berker.peksag'\ncomponents = ['Documentation']\ncreation = \u003cDate 2014-09-09.20:58:12.291\u003e\ncreator = 'terry.reedy'\ndependencies = []\nfiles = ['43095']\nhgrepos = []\nissue_num = 22374\nkeywords = ['patch']\nmessage_count = 6.0\nmessages = ['226661', '226686', '266862', '266918', '311203', '322397']\nnosy_count = 7.0\nnosy_names = ['terry.reedy', 'ncoghlan', 'docs@python', 'berker.peksag', 'martin.panter', 'serhiy.storchaka', 'cowlinator']\npr_nums = []\npriority = 'normal'\nresolution = 'duplicate'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = '33468'\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue22374'\nversions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/terryjreedy","@type":"Person","name":"terryjreedy"},"datePublished":"2014-09-09T20:58:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/66568/cpython/issues/66568"}
| 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:1938fa23-598c-8d06-4c82-510a8e2b8f26 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECB8:35AF44:3BF956C:52FA703:6A54C7A1 |
| html-safe-nonce | e2891e35b169b04508476a56881c68ab66e21a68a845e244ea14eaef71e4e25d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0I4OjM1QUY0NDozQkY5NTZDOjUyRkE3MDM6NkE1NEM3QTEiLCJ2aXNpdG9yX2lkIjoiMjM3MTQzODQ2NDgzNzA3ODA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9bdb49cf35653c0059fdca8445f6ba668967de1433c70673669e45f5600d16de |
| hovercard-subject-tag | issue:1198925541 |
| 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/66568/issue_layout |
| twitter:image | https://opengraph.githubassets.com/670fd84a097180252b7ea44bb47494d81b71a773ce767c9513ce6d8b59d8b5f7/python/cpython/issues/66568 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/670fd84a097180252b7ea44bb47494d81b71a773ce767c9513ce6d8b59d8b5f7/python/cpython/issues/66568 |
| og:image:alt | BPO 22374 Nosy @terryjreedy, @ncoghlan, @berkerpeksag, @vadmium, @serhiy-storchaka, @cowlinator Superseder bpo-33468: Add try-finally contextlib.contextmanager example Files issue22374.diff Note: t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | terryjreedy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6e5f2e6ff3f430aa60a674066f957bca9f2106017e1b68126417422b58ce6e1e |
| 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 | be4d48619391052c9d312c7b587bb2ac38a97f57 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width