{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/16833","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/16833/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/16833/comments","events_url":"https://api.github.com/repos/atom/atom/issues/16833/events","html_url":"https://github.com/atom/atom/issues/16833","id":300047906,"number":16833,"title":"multiprocessing package runs indefinitely","user":{"login":"trackoverxc","id":18341592,"avatar_url":"https://avatars0.githubusercontent.com/u/18341592?v=4","gravatar_id":"","url":"https://api.github.com/users/trackoverxc","html_url":"https://github.com/trackoverxc","followers_url":"https://api.github.com/users/trackoverxc/followers","following_url":"https://api.github.com/users/trackoverxc/following{/other_user}","gists_url":"https://api.github.com/users/trackoverxc/gists{/gist_id}","starred_url":"https://api.github.com/users/trackoverxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trackoverxc/subscriptions","organizations_url":"https://api.github.com/users/trackoverxc/orgs","repos_url":"https://api.github.com/users/trackoverxc/repos","events_url":"https://api.github.com/users/trackoverxc/events{/privacy}","received_events_url":"https://api.github.com/users/trackoverxc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-25T18:14:54Z","updated_at":"2018-02-26T03:23:49Z","closed_at":null,"author_association":"NONE","body":"[Pre-reqs at bottom]\r\n\r\n### Description\r\n\r\nRunning the multiprocessing package in Atom goes indefinitely. Running the same script from cmd runs in a second.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Run the sample code from multiprocessing docs for python 3.6 https://docs.python.org/3.6/library/multiprocessing.html \r\n2. Watch the process run forever\r\n\r\n**Expected behavior:** [What you expect to happen]\r\nFor the process to complete.\r\n\r\n**Actual behavior:** [What actually happens]\r\nThe process does not complete, but provides no error.\r\n\r\n**Reproduces how often:** [What percentage of the time does it reproduce?]\r\n100%\r\n\r\n### Versions\r\n\r\nAtom    : 1.24.0\r\nElectron: 1.6.16\r\nChrome  : 56.0.2924.87\r\nNode    : 7.4.0\r\n\r\napm  1.18.12\r\nnpm  3.10.10\r\nnode 6.9.5 x64\r\natom 1.24.0\r\npython\r\ngit 2.9.0.windows.1\r\nvisual studio 2015\r\n\r\nMicrosoft Windows 10 home\r\nVersion 10.0.16299 Build 16299\r\n\r\n### Additional Information\r\n\r\nAny additional information, configuration or data that might be necessary to reproduce the issue.\r\n\r\n### Prerequisites\r\n\r\n* [X] Put an X between the brackets on this line if you have done all of the following:\r\n    * Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode\r\n    * Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/\r\n    * Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq\r\n    * Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom\r\n    * Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/368379573","html_url":"https://github.com/atom/atom/issues/16833#issuecomment-368379573","issue_url":"https://api.github.com/repos/atom/atom/issues/16833","id":368379573,"user":{"login":"trackoverxc","id":18341592,"avatar_url":"https://avatars0.githubusercontent.com/u/18341592?v=4","gravatar_id":"","url":"https://api.github.com/users/trackoverxc","html_url":"https://github.com/trackoverxc","followers_url":"https://api.github.com/users/trackoverxc/followers","following_url":"https://api.github.com/users/trackoverxc/following{/other_user}","gists_url":"https://api.github.com/users/trackoverxc/gists{/gist_id}","starred_url":"https://api.github.com/users/trackoverxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trackoverxc/subscriptions","organizations_url":"https://api.github.com/users/trackoverxc/orgs","repos_url":"https://api.github.com/users/trackoverxc/repos","events_url":"https://api.github.com/users/trackoverxc/events{/privacy}","received_events_url":"https://api.github.com/users/trackoverxc/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T03:23:49Z","updated_at":"2018-02-26T03:23:49Z","author_association":"NONE","body":"@Arcanemagus\r\n`from multiprocessing import Pool\r\n\r\ndef f(x):\r\n    return x*x\r\n\r\nif __name__ == '__main__':\r\n    with Pool(5) as p:\r\n        print(p.map(f, [1, 2, 3]))`"}}
{"actor":{"display_login":"trackoverxc"}}