Title: join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty · Issue #56366 · python/cpython · GitHub
Open Graph Title: join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty · Issue #56366 · python/cpython
X Title: join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty · Issue #56366 · python/cpython
Description: BPO 12157 Nosy @terryjreedy, @vstinner, @akheron Files multi.py: Code to reproduce the bugissue-12157.patch: Remove the MapResult instance from the Pool cache when the iterable passed to map is empty.issue-12157.patch: Don't Try to use a...
Open Graph Description: BPO 12157 Nosy @terryjreedy, @vstinner, @akheron Files multi.py: Code to reproduce the bugissue-12157.patch: Remove the MapResult instance from the Pool cache when the iterable passed to map is emp...
X Description: BPO 12157 Nosy @terryjreedy, @vstinner, @akheron Files multi.py: Code to reproduce the bugissue-12157.patch: Remove the MapResult instance from the Pool cache when the iterable passed to map is emp...
Opengraph URL: https://github.com/python/cpython/issues/56366
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty","articleBody":"BPO | [12157](https://bugs.python.org/issue12157)\n--- | :---\nNosy | @terryjreedy, @vstinner, @akheron\nFiles | \u003cli\u003e[multi.py](https://bugs.python.org/file22077/multi.py \"Uploaded as text/plain at 2011-05-23.11:42:45 by gkcn\"): Code to reproduce the bug\u003c/li\u003e\u003cli\u003e[issue-12157.patch](https://bugs.python.org/file22466/issue-12157.patch \"Uploaded as text/plain at 2011-06-25.14:32:56 by mouad\"): Remove the MapResult instance from the Pool cache when the iterable passed to map is empty.\u003c/li\u003e\u003cli\u003e[issue-12157.patch](https://bugs.python.org/file22475/issue-12157.patch \"Uploaded as text/plain at 2011-06-25.16:46:42 by mouad\"): Don't Try to use any fancy way to check if the join will hang, leave all the job to faulthandler.\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 2012-06-07.22:18:20.103\u003e\ncreated_at = \u003cDate 2011-05-23.11:42:45.563\u003e\nlabels = ['type-bug', 'library']\ntitle = 'join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty'\nupdated_at = \u003cDate 2012-06-07.22:18:20.102\u003e\nuser = 'https://bugs.python.org/gkcn'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-06-07.22:18:20.102\u003e\nactor = 'sbt'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2012-06-07.22:18:20.103\u003e\ncloser = 'sbt'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2011-05-23.11:42:45.563\u003e\ncreator = 'gkcn'\ndependencies = []\nfiles = ['22077', '22466', '22475']\nhgrepos = []\nissue_num = 12157\nkeywords = ['patch']\nmessage_count = 9.0\nmessages = ['136613', '137154', '137157', '139064', '139078', '139101', '139125', '139128', '162493']\nnosy_count = 10.0\nnosy_names = ['terry.reedy', 'vstinner', 'jnoller', 'neologix', 'rosslagerwall', 'python-dev', 'sbt', 'gkcn', 'mouad', 'petri.lehtinen']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue12157'\nversions = ['Python 2.7', 'Python 3.2', 'Python 3.3']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/gkcn","@type":"Person","name":"gkcn"},"datePublished":"2011-05-23T11:42:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/56366/cpython/issues/56366"}
| 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:3bdd439a-872e-80d0-3ece-00528aae2581 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D054:37ADBC:F4088F:14E47F9:6A55BF9F |
| html-safe-nonce | caa5c38c16f442d61a9872ca5b51866fe7514e980ddbeb107f1049918cfaa1df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDU0OjM3QURCQzpGNDA4OEY6MTRFNDdGOTo2QTU1QkY5RiIsInZpc2l0b3JfaWQiOiIzOTM2MzAxNTQ1MzMxOTk4NjIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 79abd021acba64895139eda47f9c31c73683e4fe1637e1937905d06fdc5dcc63 |
| hovercard-subject-tag | issue:1198869531 |
| 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/56366/issue_layout |
| twitter:image | https://opengraph.githubassets.com/152052a2ae294a48c252eb55bde903f2dd28f99f89f4a8b42a765a7a70369fb2/python/cpython/issues/56366 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/152052a2ae294a48c252eb55bde903f2dd28f99f89f4a8b42a765a7a70369fb2/python/cpython/issues/56366 |
| og:image:alt | BPO 12157 Nosy @terryjreedy, @vstinner, @akheron Files multi.py: Code to reproduce the bugissue-12157.patch: Remove the MapResult instance from the Pool cache when the iterable passed to map is emp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gkcn |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 8f8e1726192df8dce16872ceb503336c12e9ae78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width