Title: assertRaises as a context manager keeps tracebacks and frames alive · Issue #54024 · python/cpython · GitHub
Open Graph Title: assertRaises as a context manager keeps tracebacks and frames alive · Issue #54024 · python/cpython
X Title: assertRaises as a context manager keeps tracebacks and frames alive · Issue #54024 · python/cpython
Description: BPO 9815 Nosy @akuchling, @pitrou, @vstinner, @ezio-melotti, @merwok, @voidspace Files py3k_fix_tarfile.patchtest_tar_pipe_open_read_error.py: small test script to reproduce the issuetest_tar_pipe_open_read_error_v2.pytest_assert_raises....
Open Graph Description: BPO 9815 Nosy @akuchling, @pitrou, @vstinner, @ezio-melotti, @merwok, @voidspace Files py3k_fix_tarfile.patchtest_tar_pipe_open_read_error.py: small test script to reproduce the issuetest_tar_pipe_...
X Description: BPO 9815 Nosy @akuchling, @pitrou, @vstinner, @ezio-melotti, @merwok, @voidspace Files py3k_fix_tarfile.patchtest_tar_pipe_open_read_error.py: small test script to reproduce the issuetest_tar_pipe_...
Opengraph URL: https://github.com/python/cpython/issues/54024
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"assertRaises as a context manager keeps tracebacks and frames alive","articleBody":"BPO | [9815](https://bugs.python.org/issue9815)\n--- | :---\nNosy | @akuchling, @pitrou, @vstinner, @ezio-melotti, @merwok, @voidspace\nFiles | \u003cli\u003e[py3k_fix_tarfile.patch](https://bugs.python.org/file18815/py3k_fix_tarfile.patch \"Uploaded as text/plain at 2010-09-10.07:18:16 by ocean-city\")\u003c/li\u003e\u003cli\u003e[test_tar_pipe_open_read_error.py](https://bugs.python.org/file18855/test_tar_pipe_open_read_error.py \"Uploaded as text/plain at 2010-09-12.05:09:41 by ocean-city\"): small test script to reproduce the issue\u003c/li\u003e\u003cli\u003e[test_tar_pipe_open_read_error_v2.py](https://bugs.python.org/file18873/test_tar_pipe_open_read_error_v2.py \"Uploaded as text/plain at 2010-09-14.02:00:30 by ocean-city\")\u003c/li\u003e\u003cli\u003e[test_assert_raises.py](https://bugs.python.org/file18876/test_assert_raises.py \"Uploaded as text/plain at 2010-09-14.06:00:19 by ocean-city\"): small test script to reproduce\u003c/li\u003e\u003cli\u003e[py3k_fix__AssertRaisesContext.patch](https://bugs.python.org/file18877/py3k_fix__AssertRaisesContext.patch \"Uploaded as text/plain at 2010-09-14.06:06:50 by ocean-city\"): The patch to fix\u003c/li\u003e\u003cli\u003e[test_traceback_freed.py](https://bugs.python.org/file18897/test_traceback_freed.py \"Uploaded as text/plain at 2010-09-16.04:15:53 by ocean-city\")\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 2014-04-28.23:26:39.786\u003e\ncreated_at = \u003cDate 2010-09-10.07:18:18.224\u003e\nlabels = ['extension-modules']\ntitle = 'assertRaises as a context manager keeps tracebacks and frames alive'\nupdated_at = \u003cDate 2014-04-28.23:26:39.785\u003e\nuser = 'https://bugs.python.org/ocean-city'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2014-04-28.23:26:39.785\u003e\nactor = 'pitrou'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2014-04-28.23:26:39.786\u003e\ncloser = 'pitrou'\ncomponents = ['Extension Modules']\ncreation = \u003cDate 2010-09-10.07:18:18.224\u003e\ncreator = 'ocean-city'\ndependencies = []\nfiles = ['18815', '18855', '18873', '18876', '18877', '18897']\nhgrepos = []\nissue_num = 9815\nkeywords = ['patch', 'needs review']\nmessage_count = 17.0\nmessages = ['115984', '116130', '116149', '116245', '116360', '116368', '116369', '116379', '116508', '117229', '117295', '117401', '181816', '194514', '199115', '217442', '217443']\nnosy_count = 8.0\nnosy_names = ['akuchling', 'pitrou', 'vstinner', 'ocean-city', 'ezio.melotti', 'eric.araujo', 'michael.foord', 'python-dev']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = None\nurl = 'https://bugs.python.org/issue9815'\nversions = ['Python 3.3', 'Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/ocean-city","@type":"Person","name":"ocean-city"},"datePublished":"2010-09-10T07:18:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/54024/cpython/issues/54024"}
| 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:61193af4-03a8-4a14-9531-ceaa1e9d74f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B932:50FD4:58ACBB:7E2D89:6A4E7235 |
| html-safe-nonce | 4b7f2607b5f3dfb71afdbbcaa4c03a213aff695c51e6939c2125d0c5bed18435 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTMyOjUwRkQ0OjU4QUNCQjo3RTJEODk6NkE0RTcyMzUiLCJ2aXNpdG9yX2lkIjoiNDcwNzExNTI4MDA4NTQ0NzIyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 70c97ccb4f6f349a313347b7fabd91eca535e7731eb6a2790f46f941ccbcb47f |
| hovercard-subject-tag | issue:1198859760 |
| 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/54024/issue_layout |
| twitter:image | https://opengraph.githubassets.com/20be84d3ac31a13a77b567827d8c341739fff893c71645f2a9b51869b3695001/python/cpython/issues/54024 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/20be84d3ac31a13a77b567827d8c341739fff893c71645f2a9b51869b3695001/python/cpython/issues/54024 |
| og:image:alt | BPO 9815 Nosy @akuchling, @pitrou, @vstinner, @ezio-melotti, @merwok, @voidspace Files py3k_fix_tarfile.patchtest_tar_pipe_open_read_error.py: small test script to reproduce the issuetest_tar_pipe_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ocean-city |
| 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