Title: Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected · Issue #76440 · python/cpython · GitHub
Open Graph Title: Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected · Issue #76440 · python/cpython
X Title: Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected · Issue #76440 · python/cpython
Description: BPO 32259 Nosy @rhettinger, @terryjreedy, @ericvsmith, @stevendaprano, @bitdancer, @serhiy-storchaka PRs #4903 Files issue-32259-iterable-unpackable.patch: sample patch for the changes locations. The actual message wording might have to ...
Open Graph Description: BPO 32259 Nosy @rhettinger, @terryjreedy, @ericvsmith, @stevendaprano, @bitdancer, @serhiy-storchaka PRs #4903 Files issue-32259-iterable-unpackable.patch: sample patch for the changes locations. T...
X Description: BPO 32259 Nosy @rhettinger, @terryjreedy, @ericvsmith, @stevendaprano, @bitdancer, @serhiy-storchaka PRs #4903 Files issue-32259-iterable-unpackable.patch: sample patch for the changes locations. T...
Opengraph URL: https://github.com/python/cpython/issues/76440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Misleading \"not iterable\" Error Message when generator return a \"simple\" type, and a tuple is expected","articleBody":"BPO | [32259](https://bugs.python.org/issue32259)\n--- | :---\nNosy | @rhettinger, @terryjreedy, @ericvsmith, @stevendaprano, @bitdancer, @serhiy-storchaka\nPRs | \u003cli\u003epython/cpython#4903\u003c/li\u003e\nFiles | \u003cli\u003e[issue-32259-iterable-unpackable.patch](https://bugs.python.org/file47330/issue-32259-iterable-unpackable.patch \"Uploaded as text/plain at 2017-12-10.23:32:05 by Camion\"): sample patch for the changes locations. The actual message wording might have to be adapted according with discussions.\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 2017-12-26.10:32:10.279\u003e\ncreated_at = \u003cDate 2017-12-09.12:10:32.324\u003e\nlabels = ['interpreter-core', 'type-feature', '3.7']\ntitle = 'Misleading \"not iterable\" Error Message when generator return a \"simple\" type, and a tuple is expected'\nupdated_at = \u003cDate 2017-12-26.10:32:10.258\u003e\nuser = 'https://bugs.python.org/Camion'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2017-12-26.10:32:10.258\u003e\nactor = 'serhiy.storchaka'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2017-12-26.10:32:10.279\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2017-12-09.12:10:32.324\u003e\ncreator = 'Camion'\ndependencies = []\nfiles = ['47330']\nhgrepos = []\nissue_num = 32259\nkeywords = ['patch']\nmessage_count = 37.0\nmessages = ['307892', '307896', '307899', '307900', '307904', '307937', '307942', '307944', '307946', '307951', '307953', '307955', '307969', '307976', '307987', '307991', '307992', '307994', '307999', '308002', '308003', '308004', '308443', '308472', '308477', '308490', '308496', '308556', '308584', '308585', '308596', '308612', '308615', '308620', '308624', '308625', '309057']\nnosy_count = 7.0\nnosy_names = ['rhettinger', 'terry.reedy', 'eric.smith', 'steven.daprano', 'r.david.murray', 'serhiy.storchaka', 'Camion']\npr_nums = ['4903']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue32259'\nversions = ['Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/Camion","@type":"Person","name":"Camion"},"datePublished":"2017-12-09T12:10:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":37},"url":"https://github.com/76440/cpython/issues/76440"}
| 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:f031ad07-ad16-8c6b-1472-5b48d94930f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96BC:232221:C45A49:C89DB8:6A4DBA2B |
| html-safe-nonce | 29130bd05252948b5cab6230641bfc0d8cd4eacad7f43ab9458bdb965c7b67ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkJDOjIzMjIyMTpDNDVBNDk6Qzg5REI4OjZBNERCQTJCIiwidmlzaXRvcl9pZCI6IjY3MDg3Mjk4ODU4MTkyNTUzMzkiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | a570e984a96f5653fdbefefb4ec71fcc6a906025d587b9c3e289ccca03423339 |
| hovercard-subject-tag | issue:1198984046 |
| 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/76440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/005d00cfef9de1a98b9f4e366803659d3aff5b3775a625d97569c95f46edc98d/python/cpython/issues/76440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/005d00cfef9de1a98b9f4e366803659d3aff5b3775a625d97569c95f46edc98d/python/cpython/issues/76440 |
| og:image:alt | BPO 32259 Nosy @rhettinger, @terryjreedy, @ericvsmith, @stevendaprano, @bitdancer, @serhiy-storchaka PRs #4903 Files issue-32259-iterable-unpackable.patch: sample patch for the changes locations. T... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Camion |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width