Message387254
> For us it happens when using multiprocessing: the main process forks 2 processes and both use urlopen at roughly the same time. We are seeing this on Python 3.7.2 on macOS 10.14.3.
From what I understood, calling fork() (and then continue to execute regular Python code) is no longer safe in macOS 10.14 and must no longer be used. Only fork+exec is safe (spawn a new child process), but posix_spawn() is preferred on macOS. But I'm not a macOS expert. |
|
Date |
User |
Action |
Args |
2021-02-18 18:03:15 | vstinner | set | recipients:
+ vstinner, Manjusaka, Anne Archibald, gilles-duboscq |
2021-02-18 18:03:15 | vstinner | set | messageid: <1613671395.96.0.103455909085.issue39853@roundup.psfhosted.org> |
2021-02-18 18:03:15 | vstinner | link | issue39853 messages |
2021-02-18 18:03:15 | vstinner | create | |
|