Title: iterators broken for weak dicts · Issue #39529 · python/cpython · GitHub
Open Graph Title: iterators broken for weak dicts · Issue #39529 · python/cpython
X Title: iterators broken for weak dicts · Issue #39529 · python/cpython
Description: BPO 839159 Nosy @mdickinson, @pitrou, @devdanzin Superseder bpo-7105: weak dict iterators are fragile because of unpredictable GC runs Files weakrefbug.py: Script that demonstrates the bugweakref_dict_iter.diff Note: these values reflect...
Open Graph Description: BPO 839159 Nosy @mdickinson, @pitrou, @devdanzin Superseder bpo-7105: weak dict iterators are fragile because of unpredictable GC runs Files weakrefbug.py: Script that demonstrates the bugweakref_d...
X Description: BPO 839159 Nosy @mdickinson, @pitrou, @devdanzin Superseder bpo-7105: weak dict iterators are fragile because of unpredictable GC runs Files weakrefbug.py: Script that demonstrates the bugweakref_d...
Opengraph URL: https://github.com/python/cpython/issues/39529
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"iterators broken for weak dicts","articleBody":"BPO | [839159](https://bugs.python.org/issue839159)\n--- | :---\nNosy | @mdickinson, @pitrou, @devdanzin\nSuperseder | \u003cli\u003ebpo-7105: weak dict iterators are fragile because of unpredictable GC runs\u003c/li\u003e\nFiles | \u003cli\u003e[weakrefbug.py](https://bugs.python.org/file1091/weakrefbug.py \"Uploaded as text/plain at 2003-11-10.11:32:12 by dcjim\"): Script that demonstrates the bug\u003c/li\u003e\u003cli\u003e[weakref_dict_iter.diff](https://bugs.python.org/file9537/weakref_dict_iter.diff \"Uploaded as text/plain at 2008-02-24.14:25:36 by vdupras\")\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 2010-07-23.09:56:04.895\u003e\ncreated_at = \u003cDate 2003-11-10.11:32:12.000\u003e\nlabels = ['type-bug', 'library']\ntitle = 'iterators broken for weak dicts'\nupdated_at = \u003cDate 2010-07-23.09:56:04.894\u003e\nuser = 'https://bugs.python.org/dcjim'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2010-07-23.09:56:04.894\u003e\nactor = 'mark.dickinson'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2010-07-23.09:56:04.895\u003e\ncloser = 'mark.dickinson'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2003-11-10.11:32:12.000\u003e\ncreator = 'dcjim'\ndependencies = []\nfiles = ['1091', '9537']\nhgrepos = []\nissue_num = 839159\nkeywords = ['patch']\nmessage_count = 14.0\nmessages = ['18959', '62908', '82020', '82037', '82062', '82066', '82067', '104842', '105159', '110338', '111254', '111256', '111257', '111258']\nnosy_count = 8.0\nnosy_names = ['dcjim', 'tseaver', 'mark.dickinson', 'pitrou', 'ajaksu2', 'vdupras', 'elachuni', 'BreamoreBoy']\npr_nums = []\npriority = 'normal'\nresolution = 'duplicate'\nstage = 'patch review'\nstatus = 'closed'\nsuperseder = '7105'\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue839159'\nversions = ['Python 2.6', 'Python 2.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/dcjim","@type":"Person","name":"dcjim"},"datePublished":"2003-11-10T11:32:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/39529/cpython/issues/39529"}
| 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:05164635-f480-7c95-13c7-fd01c0e4311a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6C6:19CBC0:15C0FF:1CAB0A:6A56E1BB |
| html-safe-nonce | 5b95ccc5af11fbdbdf64fe16b59e6ff348d28f44149deeff06b07c253c74fd99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkM2OjE5Q0JDMDoxNUMwRkY6MUNBQjBBOjZBNTZFMUJCIiwidmlzaXRvcl9pZCI6IjIwMTE3MDA2OTgyNjI0NjI5MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e3d1cf3c5d607b076e528b8870044d0d5445616da277654d11505f8008636c90 |
| hovercard-subject-tag | issue:1198798778 |
| 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/39529/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42f034b4024b60e9564c447e3d7ad06f267fafd5bb933a391965baee2b613421/python/cpython/issues/39529 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42f034b4024b60e9564c447e3d7ad06f267fafd5bb933a391965baee2b613421/python/cpython/issues/39529 |
| og:image:alt | BPO 839159 Nosy @mdickinson, @pitrou, @devdanzin Superseder bpo-7105: weak dict iterators are fragile because of unpredictable GC runs Files weakrefbug.py: Script that demonstrates the bugweakref_d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dcjim |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5220a278731283038daf0ed00b41f06ef7ff9539020ecc806c5c5a0fb6bda25a |
| 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 | 8684ae1a81cd3e4ef219b241179982bbda1a5b1f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width