This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Craig.Silverstein, PyAcrisel, eitan.adler, erlendaasland, evan.jones@bluecore.com, ned.deily, ronaldoussoren, spicyj, terry.reedy
Date 2020-05-29.23:25:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590794734.65.0.541334903893.issue20353@roundup.psfhosted.org>
In-reply-to
Content
hang.py uses the default multiprocessing start method, which was then 'fork'.  It is now 'spawn' on macOS.  And there have been many other changes.  When I run the following from IDLE, it finishes immediately.

import multiprocessing, sqlite3
def hang():
   sqlite3.connect('/tmp/foo')
if __name__ == '__main__':
   multiprocessing.Pool(2).apply_async(hang, []).get(999)
print('done')

Unless I am missing something, this should be closed as 'out of date'.
History
Date User Action Args
2020-05-29 23:25:34terry.reedysetrecipients: + terry.reedy, ronaldoussoren, ned.deily, eitan.adler, Craig.Silverstein, spicyj, PyAcrisel, evan.jones@bluecore.com, erlendaasland
2020-05-29 23:25:34terry.reedysetmessageid: <1590794734.65.0.541334903893.issue20353@roundup.psfhosted.org>
2020-05-29 23:25:34terry.reedylinkissue20353 messages
2020-05-29 23:25:34terry.reedycreate