Title: Locks in the standard library should be sanitized on fork · Issue #50970 · python/cpython · GitHub
Open Graph Title: Locks in the standard library should be sanitized on fork · Issue #50970 · python/cpython
X Title: Locks in the standard library should be sanitized on fork · Issue #50970 · python/cpython
Description: BPO 6721 Nosy @rhettinger, @gpshead, @vsajip, @jcea, @nirs, @pitrou, @vstinner, @applio, @cagney, @Birne94, @ochedru, @kevans91, @jessefarnham, @rojer, @koubaa PRs #4071#9291#21986#22205#22651 Files lock_fork_thread_deadlock_demo.pyforkl...
Open Graph Description: BPO 6721 Nosy @rhettinger, @gpshead, @vsajip, @jcea, @nirs, @pitrou, @vstinner, @applio, @cagney, @Birne94, @ochedru, @kevans91, @jessefarnham, @rojer, @koubaa PRs #4071#9291#21986#22205#22651 File...
X Description: BPO 6721 Nosy @rhettinger, @gpshead, @vsajip, @jcea, @nirs, @pitrou, @vstinner, @applio, @cagney, @Birne94, @ochedru, @kevans91, @jessefarnham, @rojer, @koubaa PRs #4071#9291#21986#22205#22651 File...
Opengraph URL: https://github.com/python/cpython/issues/50970
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Locks in the standard library should be sanitized on fork","articleBody":"BPO | [6721](https://bugs.python.org/issue6721)\n--- | :---\nNosy | @rhettinger, @gpshead, @vsajip, @jcea, @nirs, @pitrou, @vstinner, @applio, @cagney, @Birne94, @ochedru, @kevans91, @jessefarnham, @rojer, @koubaa\nPRs | \u003cli\u003epython/cpython#4071\u003c/li\u003e\u003cli\u003epython/cpython#9291\u003c/li\u003e\u003cli\u003epython/cpython#21986\u003c/li\u003e\u003cli\u003epython/cpython#22205\u003c/li\u003e\u003cli\u003epython/cpython#22651\u003c/li\u003e\nFiles | \u003cli\u003e[lock_fork_thread_deadlock_demo.py](https://bugs.python.org/file14740/lock_fork_thread_deadlock_demo.py \"Uploaded as text/plain at 2009-08-17.23:06:15 by @gpshead\")\u003c/li\u003e\u003cli\u003e[forklocktests.patch](https://bugs.python.org/file21874/forklocktests.patch \"Uploaded as text/plain at 2011-05-03.20:38:12 by @pitrou\")\u003c/li\u003e\u003cli\u003e[reinit_locks.diff](https://bugs.python.org/file22005/reinit_locks.diff \"Uploaded as text/plain at 2011-05-15.19:39:53 by neologix\"): patch adding locks reinitialization upon fork\u003c/li\u003e\u003cli\u003e[emit_warning_on_fork.patch](https://bugs.python.org/file22525/emit_warning_on_fork.patch \"Uploaded as text/plain at 2011-06-30.15:04:07 by avian\")\u003c/li\u003e\u003cli\u003e[atfork.patch](https://bugs.python.org/file24303/atfork.patch \"Uploaded as text/plain at 2012-01-23.21:23:21 by sbt\")\u003c/li\u003e\u003cli\u003e[reinit_locks_2.diff](https://bugs.python.org/file25776/reinit_locks_2.diff \"Uploaded as text/plain at 2012-05-31.20:48:39 by sbt\")\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 = None\ncreated_at = \u003cDate 2009-08-17.23:06:17.321\u003e\nlabels = ['3.7', 'type-feature', 'library']\ntitle = 'Locks in the standard library should be sanitized on fork'\nupdated_at = \u003cDate 2020-10-11.20:42:06.563\u003e\nuser = 'https://github.com/gpshead'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-10-11.20:42:06.563\u003e\nactor = 'kevans'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2009-08-17.23:06:17.321\u003e\ncreator = 'gregory.p.smith'\ndependencies = []\nfiles = ['14740', '21874', '22005', '22525', '24303', '25776']\nhgrepos = []\nissue_num = 6721\nkeywords = ['patch']\nmessage_count = 133.0\nmessages = ['91674', '91936', '92766', '94102', '94115', '94133', '94135', '128282', '128307', '128311', '128316', '128369', '135012', '135067', '135069', '135079', '135083', '135095', '135096', '135143', '135157', '135173', '135543', '135857', '135866', '135897', '135899', '135948', '135965', '135984', '136003', '136039', '136045', '136047', '136120', '136147', '139084', '139245', '139470', '139474', '139480', '139485', '139488', '139489', '139509', '139511', '139521', '139522', '139584', '139599', '139608', '139800', '139808', '139850', '139852', '139858', '139869', '139897', '139929', '140215', '140402', '140550', '140658', '140659', '140668', '140689', '140690', '140691', '141286', '143174', '143274', '143279', '151168', '151266', '151267', '151845', '151846', '151853', '161019', '161029', '161389', '161405', '161470', '161953', '162019', '162031', '162034', '162036', '162038', '162039', '162040', '162041', '162053', '162054', '162063', '162113', '162114', '162115', '162117', '162120', '162137', '162160', '270015', '270017', '270018', '270019', '270020', '270021', '270022', '270023', '270028', '289716', '294726', '294834', '304714', '304716', '304722', '304723', '314983', '325326', '327267', '329474', '339369', '339371', '339393', '339418', '339454', '339458', '339473', '365169', '367528', '367702', '368882']\nnosy_count = 29.0\nnosy_names = ['rhettinger', 'gregory.p.smith', 'vinay.sajip', 'jcea', 'nirs', 'pitrou', 'vstinner', 'nirai', 'forest_atq', 'ionelmc', 'bobbyi', 'neologix', 'Giovanni.Bajo', 'sdaoden', 'tshepang', 'sbt', 'lesha', 'dan.oreilly', 'davin', 'Connor.Wolf', 'Winterflower', 'cagney', 'Birne94', 'ochedru', 'kevans', 'jesse.farnham', 'hugh', 'rojer', 'koubaa']\npr_nums = ['4071', '9291', '21986', '22205', '22651']\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue6721'\nversions = ['Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/gpshead","@type":"Person","name":"gpshead"},"datePublished":"2009-08-17T23:06:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":134},"url":"https://github.com/50970/cpython/issues/50970"}
| 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:a59fb335-06ce-ed50-e3e5-8cee02dbc179 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91C8:87739:12DC9A8:1A6C37A:696A3CAD |
| html-safe-nonce | 3d870974370cef1a58f7b516a231de017bb3ad9551103b762d7a2e092f201a09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUM4Ojg3NzM5OjEyREM5QTg6MUE2QzM3QTo2OTZBM0NBRCIsInZpc2l0b3JfaWQiOiIxNzU5OTMzNTU1MDU2MTk2NzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 609030adf17fbd882b5dae0a1a397e6775a98589adb05974ac32208c45574743 |
| hovercard-subject-tag | issue:1198847287 |
| 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/50970/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c259d2c0220ec10298f289b17366402dcbcdbb9464c3e46110ca5a1f2d839c1e/python/cpython/issues/50970 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c259d2c0220ec10298f289b17366402dcbcdbb9464c3e46110ca5a1f2d839c1e/python/cpython/issues/50970 |
| og:image:alt | BPO 6721 Nosy @rhettinger, @gpshead, @vsajip, @jcea, @nirs, @pitrou, @vstinner, @applio, @cagney, @Birne94, @ochedru, @kevans91, @jessefarnham, @rojer, @koubaa PRs #4071#9291#21986#22205#22651 File... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gpshead |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| 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 | 13581a31d51edf4a3aca179e10890a4d4f9b6d76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width