[issue20666] asyncio/OpenBSD: make concurrent.futures dependency optional

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: > I'd prefer not to add a bad hack to support such a broken platform. If it > doesn't have semaphores, not much Python code will run. Oh, in fact concurrent.futures and multiprocessing are available on OpenBSD 5.5 (see the new buildbot created yesterday). test

[issue20666] asyncio/OpenBSD: make concurrent.futures dependency optional

2014-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: I'd prefer not to add a bad hack to support such a broken platform. If it doesn't have semaphores, not much Python code will run. Maybe the dummy_threading module can be used instead? -- ___ Python tracker

[issue20666] asyncio/OpenBSD: make concurrent.futures dependency optional

2014-02-17 Thread STINNER Victor
STINNER Victor added the comment: Oh, it looks like concurrent.futures and asyncio now works on OpenBSD 5.5: http://buildbot.python.org/all/builders/x86%20OpenBSD%205.5%203.x/builds/10/steps/test/logs/stdio (at least tests are running) OpenBSD 5.5 added support of POSIX semaphores? --

[issue20666] asyncio/OpenBSD: make concurrent.futures dependency optional

2014-02-17 Thread STINNER Victor
New submission from STINNER Victor: On old FreeBSD versions and on the latest OpenBSD (5.4), the multiprocessing module is not available because POSIX semaphores are not supported by the OS. See issues #5725 and #10348 to use SysV semaphores. #10348 was closed because "implementing SysV semaph