Title: threading.local doesn't free attrs when assigning thread exits · Issue #46176 · python/cpython · GitHub
Open Graph Title: threading.local doesn't free attrs when assigning thread exits · Issue #46176 · python/cpython
X Title: threading.local doesn't free attrs when assigning thread exits · Issue #46176 · python/cpython
Description: BPO 1868 Nosy @loewis, @gpshead, @amauryfa, @ncoghlan, @pitrou, @tiran Files _threading_local.py.patch: patch for threading.local docteststhreading_local.patchtest1868.py: Test programthreading_local2.patchthreading_local3.patch: Slightl...
Open Graph Description: BPO 1868 Nosy @loewis, @gpshead, @amauryfa, @ncoghlan, @pitrou, @tiran Files _threading_local.py.patch: patch for threading.local docteststhreading_local.patchtest1868.py: Test programthreading_loc...
X Description: BPO 1868 Nosy @loewis, @gpshead, @amauryfa, @ncoghlan, @pitrou, @tiran Files _threading_local.py.patch: patch for threading.local docteststhreading_local.patchtest1868.py: Test programthreading_loc...
Opengraph URL: https://github.com/python/cpython/issues/46176
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"threading.local doesn't free attrs when assigning thread exits","articleBody":"BPO | [1868](https://bugs.python.org/issue1868)\n--- | :---\nNosy | @loewis, @gpshead, @amauryfa, @ncoghlan, @pitrou, @tiran\nFiles | \u003cli\u003e[_threading_local.py.patch](https://bugs.python.org/file9212/_threading_local.py.patch \"Uploaded as text/plain at 2008-01-18.23:55:05 by pfein\"): patch for threading.local doctests\u003c/li\u003e\u003cli\u003e[threading_local.patch](https://bugs.python.org/file9225/threading_local.patch \"Uploaded as text/plain at 2008-01-19.17:43:55 by @amauryfa\")\u003c/li\u003e\u003cli\u003e[test1868.py](https://bugs.python.org/file11296/test1868.py \"Uploaded as text/plain at 2008-08-28.20:24:48 by tamino\"): Test program\u003c/li\u003e\u003cli\u003e[threading_local2.patch](https://bugs.python.org/file11297/threading_local2.patch \"Uploaded as text/plain at 2008-08-28.21:09:17 by @tiran\")\u003c/li\u003e\u003cli\u003e[threading_local3.patch](https://bugs.python.org/file11298/threading_local3.patch \"Uploaded as text/plain at 2008-08-28.22:11:30 by tamino\"): Slightly modified version of threading_local2.patch\u003c/li\u003e\u003cli\u003e[threading_local4.patch](https://bugs.python.org/file11341/threading_local4.patch \"Uploaded as text/plain at 2008-09-02.06:42:49 by @gpshead\"): based on threading_local3, includes the unit test and fixes one code review comment.\u003c/li\u003e\u003cli\u003e[threadlocal.patch](https://bugs.python.org/file18603/threadlocal.patch \"Uploaded as text/plain at 2010-08-21.22:12:05 by @pitrou\")\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/pitrou'\nclosed_at = \u003cDate 2010-08-28.18:30:12.472\u003e\ncreated_at = \u003cDate 2008-01-18.23:55:06.051\u003e\nlabels = ['extension-modules', 'type-bug', 'library']\ntitle = \"threading.local doesn't free attrs when assigning thread exits\"\nupdated_at = \u003cDate 2010-08-30.22:01:57.562\u003e\nuser = 'https://bugs.python.org/pfein'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2010-08-30.22:01:57.562\u003e\nactor = 'ncoghlan'\nassignee = 'pitrou'\nclosed = True\nclosed_date = \u003cDate 2010-08-28.18:30:12.472\u003e\ncloser = 'pitrou'\ncomponents = ['Extension Modules', 'Library (Lib)']\ncreation = \u003cDate 2008-01-18.23:55:06.051\u003e\ncreator = 'pfein'\ndependencies = []\nfiles = ['9212', '9225', '11296', '11297', '11298', '11341', '18603']\nhgrepos = []\nissue_num = 1868\nkeywords = ['patch']\nmessage_count = 24.0\nmessages = ['60127', '60164', '60180', '60183', '60203', '72062', '72063', '72110', '72112', '72115', '72315', '72333', '72335', '72336', '72799', '72974', '72985', '76584', '76589', '77520', '114574', '114577', '114689', '115165']\nnosy_count = 8.0\nnosy_names = ['loewis', 'gregory.p.smith', 'amaury.forgeotdarc', 'ncoghlan', 'pitrou', 'christian.heimes', 'pfein', 'tamino']\npr_nums = []\npriority = 'high'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue1868'\nversions = ['Python 3.1', 'Python 2.7', 'Python 3.2']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/pfein","@type":"Person","name":"pfein"},"datePublished":"2008-01-18T23:55:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":24},"url":"https://github.com/46176/cpython/issues/46176"}
| 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:8bbcddc6-836c-3411-45a2-5b3d55ad25f8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CBDE:1691AA:38DCDE:4C5506:6A4EB4C8 |
| html-safe-nonce | 61390006e6c363877f8ab52b59045090c5b43d50662a20d73563d52c489b91a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkRFOjE2OTFBQTozOERDREU6NEM1NTA2OjZBNEVCNEM4IiwidmlzaXRvcl9pZCI6IjMwMDgyMTcyNzUxMTMwNTk1MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 790834d0eb9d37957d70781297a10010acf7943bf7a6c263f00eec378925b5f8 |
| hovercard-subject-tag | issue:1198827503 |
| 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/46176/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cee8d1fba535700025675f8e80d1867d9be38bc1e5b232225be370a1ad0a0850/python/cpython/issues/46176 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cee8d1fba535700025675f8e80d1867d9be38bc1e5b232225be370a1ad0a0850/python/cpython/issues/46176 |
| og:image:alt | BPO 1868 Nosy @loewis, @gpshead, @amauryfa, @ncoghlan, @pitrou, @tiran Files _threading_local.py.patch: patch for threading.local docteststhreading_local.patchtest1868.py: Test programthreading_loc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pfein |
| 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