[issue33725] High Sierra hang when using multi-processing

2018-11-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: issue35219 is where I've run into this problem. I'm still trying to figure out all the details in my own case, but I can confirm that setting the environment variable does not always help. -- ___ Python tracker

[issue33725] High Sierra hang when using multi-processing

2018-11-13 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33725] High Sierra hang when using multi-processing

2018-11-12 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33725] High Sierra hang when using multi-processing

2018-06-04 Thread Ned Deily
Ned Deily added the comment: {Note: this is not particularly relevant to the issue here.) Ronald: > In the long run the macOS installers should be build using the latest SDK > [...] That's something that would require some effort though to ensure that > the resulting binary still works on

[issue33725] High Sierra hang when using multi-processing

2018-06-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: @Ned: In the long run the macOS installers should be build using the latest SDK, primarily to get full API coverage and access to all system APIs. AFAIK building using the macOS 10.9 SDK still excludes a number of libSystem APIs that would be made

[issue33725] High Sierra hang when using multi-processing

2018-06-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: Antoine, the issue is not necessarily related to POSIX compliance, AFAIK strictly POSIX compliant code should work just fine. The problem is in higher-level APIs (CoreFoundation, Foundation, AppKit, ...), and appears to be related to using multi-threading

[issue33725] High Sierra hang when using multi-processing

2018-06-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I understand that Apple, with their limited resources, cannot spend expensive engineer manpower on improving POSIX support in macOS . In any case, I'm unsure this bug can be fixed at the Python level. If macOS APIs don't like fork(), they don't like

[issue33725] High Sierra hang when using multi-processing

2018-06-01 Thread Ned Deily
Ned Deily added the comment: (As a side note, the macOS Pythons provided by python.org installers should not behave differently on macOS 10.13 High Sierra since none of them are built with a 10.13 SDK.) -- nosy: +davin, pitrou ___ Python tracker

[issue33725] High Sierra hang when using multi-processing

2018-05-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: A better solution is to avoid using fork mode for multiprocessing. The spawn and fork server modes should work fine. The underlying problem is that macOS system frameworks (basically anything higher level than libc) are not save wrt fork(2) and fixing

[issue33725] High Sierra hang when using multi-processing

2018-05-31 Thread Kapil Thangavelu
New submission from Kapil Thangavelu : This issue seems to be reported a few times on various githubs projects. I've also reproduced using a brew install of python 2.7.15. I haven't been able to reproduce with python 3.6. Note this requires a framework build of python. Background on the