Title: Add __iter__ support for mock_open · Issue #65457 · python/cpython · GitHub
Open Graph Title: Add __iter__ support for mock_open · Issue #65457 · python/cpython
X Title: Add __iter__ support for mock_open · Issue #65457 · python/cpython
Description: BPO 21258 Nosy @voidspace, @berkerpeksag, @kushaldas, @gsauthof, @TonyFlury, @frenzymadness Superseder bpo-32933: mock_open does not support iteration around text files. Files 213.patchmock.diff: Patch for bugtestwith.diff: mock_open tes...
Open Graph Description: BPO 21258 Nosy @voidspace, @berkerpeksag, @kushaldas, @gsauthof, @TonyFlury, @frenzymadness Superseder bpo-32933: mock_open does not support iteration around text files. Files 213.patchmock.diff: P...
X Description: BPO 21258 Nosy @voidspace, @berkerpeksag, @kushaldas, @gsauthof, @TonyFlury, @frenzymadness Superseder bpo-32933: mock_open does not support iteration around text files. Files 213.patchmock.diff: P...
Opengraph URL: https://github.com/python/cpython/issues/65457
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add __iter__ support for mock_open","articleBody":"BPO | [21258](https://bugs.python.org/issue21258)\n--- | :---\nNosy | @voidspace, @berkerpeksag, @kushaldas, @gsauthof, @TonyFlury, @frenzymadness\nSuperseder | \u003cli\u003ebpo-32933: mock_open does not support iteration around text files.\u003c/li\u003e\nFiles | \u003cli\u003e[213.patch](https://bugs.python.org/file34917/213.patch \"Uploaded as text/plain at 2014-04-16.17:56:44 by @voidspace\")\u003c/li\u003e\u003cli\u003e[mock.diff](https://bugs.python.org/file35597/mock.diff \"Uploaded as text/plain at 2014-06-12.17:44:26 by pkoning\"): Patch for bug\u003c/li\u003e\u003cli\u003e[testwith.diff](https://bugs.python.org/file35598/testwith.diff \"Uploaded as text/plain at 2014-06-12.19:02:59 by pkoning\"): mock_open test suite patch\u003c/li\u003e\u003cli\u003e[mock_new.diff](https://bugs.python.org/file37908/mock_new.diff \"Uploaded as text/plain at 2015-01-29.18:35:30 by mucka\")\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/voidspace'\nclosed_at = \u003cDate 2018-09-12.22:27:20.328\u003e\ncreated_at = \u003cDate 2014-04-16.17:56:45.150\u003e\nlabels = ['type-bug', 'library']\ntitle = 'Add __iter__ support for mock_open'\nupdated_at = \u003cDate 2018-09-12.22:27:20.326\u003e\nuser = 'https://github.com/voidspace'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-09-12.22:27:20.326\u003e\nactor = 'berker.peksag'\nassignee = 'michael.foord'\nclosed = True\nclosed_date = \u003cDate 2018-09-12.22:27:20.328\u003e\ncloser = 'berker.peksag'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2014-04-16.17:56:45.150\u003e\ncreator = 'michael.foord'\ndependencies = []\nfiles = ['34917', '35597', '35598', '37908']\nhgrepos = []\nissue_num = 21258\nkeywords = ['patch']\nmessage_count = 8.0\nmessages = ['216522', '220371', '220373', '222279', '234985', '285508', '325196', '325199']\nnosy_count = 10.0\nnosy_names = ['michael.foord', 'Arve.Knudsen', 'berker.peksag', 'kushal.das', 'pkoning', 'Jos\\xc3\\xa9.Luis.Lafuente', 'mucka', 'gms', 'anthony-flury', 'frenzy']\npr_nums = []\npriority = 'normal'\nresolution = 'duplicate'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = '32933'\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue21258'\nversions = ['Python 3.4', 'Python 3.5', 'Python 3.6']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/voidspace","@type":"Person","name":"voidspace"},"datePublished":"2014-04-16T17:56:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/65457/cpython/issues/65457"}
| 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:6f9f6abc-5626-9531-0143-31afae8f6b65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1B8:47409:123E55:1A5B60:6A4DFCDE |
| html-safe-nonce | bea4a292ffb2ba1da25558c00cbae7dd9d66419986a2fadeddc051843e48178f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUI4OjQ3NDA5OjEyM0U1NToxQTVCNjA6NkE0REZDREUiLCJ2aXNpdG9yX2lkIjoiOTc0NDA1NDEyNjg0OTU0ODQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 913424c0dfc5e0b67cc1c0fc674d909cfc6e621329beee3bc26b2fd0c07070ce |
| hovercard-subject-tag | issue:1198919442 |
| 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/65457/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b5080650968438799965e92e1fde3d64c45c8d17289f4b8735b40e91656bcba/python/cpython/issues/65457 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b5080650968438799965e92e1fde3d64c45c8d17289f4b8735b40e91656bcba/python/cpython/issues/65457 |
| og:image:alt | BPO 21258 Nosy @voidspace, @berkerpeksag, @kushaldas, @gsauthof, @TonyFlury, @frenzymadness Superseder bpo-32933: mock_open does not support iteration around text files. Files 213.patchmock.diff: P... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | voidspace |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| 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 | 4314b1df11fa8a565684f3a72dc971e3785da365 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width