Title: assertRaises can behave differently · Issue #68322 · python/cpython · GitHub
Open Graph Title: assertRaises can behave differently · Issue #68322 · python/cpython
X Title: assertRaises can behave differently · Issue #68322 · python/cpython
Description: BPO 24134 Nosy @rhettinger, @rbtcollins, @ezio-melotti, @stevendaprano, @bitdancer, @voidspace, @serhiy-storchaka, @timgraham Files assert_raises_sentinel.patchassert_raises_sentinel_2.patchassert_raises_args.patch: Raises TypeErrorasser...
Open Graph Description: BPO 24134 Nosy @rhettinger, @rbtcollins, @ezio-melotti, @stevendaprano, @bitdancer, @voidspace, @serhiy-storchaka, @timgraham Files assert_raises_sentinel.patchassert_raises_sentinel_2.patchassert_...
X Description: BPO 24134 Nosy @rhettinger, @rbtcollins, @ezio-melotti, @stevendaprano, @bitdancer, @voidspace, @serhiy-storchaka, @timgraham Files assert_raises_sentinel.patchassert_raises_sentinel_2.patchassert_...
Opengraph URL: https://github.com/python/cpython/issues/68322
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"assertRaises can behave differently","articleBody":"BPO | [24134](https://bugs.python.org/issue24134)\n--- | :---\nNosy | @rhettinger, @rbtcollins, @ezio-melotti, @stevendaprano, @bitdancer, @voidspace, @serhiy-storchaka, @timgraham\nFiles | \u003cli\u003e[assert_raises_sentinel.patch](https://bugs.python.org/file39305/assert_raises_sentinel.patch \"Uploaded as text/plain at 2015-05-06.12:49:15 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[assert_raises_sentinel_2.patch](https://bugs.python.org/file39306/assert_raises_sentinel_2.patch \"Uploaded as text/plain at 2015-05-06.14:29:49 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[assert_raises_args.patch](https://bugs.python.org/file39334/assert_raises_args.patch \"Uploaded as text/plain at 2015-05-10.12:42:45 by @serhiy-storchaka\"): Raises TypeError\u003c/li\u003e\u003cli\u003e[assert_raises_args_deprecation.patch](https://bugs.python.org/file39340/assert_raises_args_deprecation.patch \"Uploaded as text/plain at 2015-05-11.07:47:00 by @serhiy-storchaka\"): Emits DeprecationWarning\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/serhiy-storchaka'\nclosed_at = \u003cDate 2015-05-20.15:39:48.316\u003e\ncreated_at = \u003cDate 2015-05-06.12:16:57.869\u003e\nlabels = ['type-bug', 'library']\ntitle = 'assertRaises can behave differently'\nupdated_at = \u003cDate 2015-06-29.07:05:18.512\u003e\nuser = 'https://bugs.python.org/magnusc'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2015-06-29.07:05:18.512\u003e\nactor = 'rbcollins'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2015-05-20.15:39:48.316\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2015-05-06.12:16:57.869\u003e\ncreator = 'magnusc'\ndependencies = []\nfiles = ['39305', '39306', '39334', '39340']\nhgrepos = []\nissue_num = 24134\nkeywords = ['patch']\nmessage_count = 20.0\nmessages = ['242658', '242659', '242660', '242661', '242665', '242673', '242675', '242681', '242683', '242684', '242845', '242852', '242855', '242872', '242996', '243313', '243356', '243677', '244740', '245923']\nnosy_count = 11.0\nnosy_names = ['rhettinger', 'rbcollins', 'ezio.melotti', 'Arfrever', 'steven.daprano', 'r.david.murray', 'michael.foord', 'python-dev', 'serhiy.storchaka', 'Tim.Graham', 'magnusc']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue24134'\nversions = ['Python 2.7', 'Python 3.4', 'Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/magnusc","@type":"Person","name":"magnusc"},"datePublished":"2015-05-06T12:16:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/68322/cpython/issues/68322"}
| 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:34ae81d6-68ee-2f76-be78-3f153d603927 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A07C:28C591:11AE4BF:18B727A:696A2FAA |
| html-safe-nonce | 8293207ac3c7b66ac398c697c36bec9db8104cd32de617c9f010f7798735965b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDdDOjI4QzU5MToxMUFFNEJGOjE4QjcyN0E6Njk2QTJGQUEiLCJ2aXNpdG9yX2lkIjoiNTIwMjE3NzM1NjkxMzU4NjA5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 14240758416f2a96b53ac039eaae4fb04e710b4e6189150196fb6a89b5e66279 |
| hovercard-subject-tag | issue:1198935006 |
| 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/68322/issue_layout |
| twitter:image | https://opengraph.githubassets.com/25372c15d16bff623c8201256bd82dec16c27c2d5e9523a9a053fbc9b64020ef/python/cpython/issues/68322 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/25372c15d16bff623c8201256bd82dec16c27c2d5e9523a9a053fbc9b64020ef/python/cpython/issues/68322 |
| og:image:alt | BPO 24134 Nosy @rhettinger, @rbtcollins, @ezio-melotti, @stevendaprano, @bitdancer, @voidspace, @serhiy-storchaka, @timgraham Files assert_raises_sentinel.patchassert_raises_sentinel_2.patchassert_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | magnusc |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| 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 | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width