Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 12, 2018

Returning EINTR from pthread semaphore or lock acquisition is an optional POSIX
feature. musl does not provide this feature, so some threadsignal tests fail
when Python is built against it.

There's no good way to test for musl, so we skip if we're on Linux and not using
glibc pthreads.

Also, hedge in the threading documentation about when we can provide interrupts
from lock acquisition.
(cherry picked from commit 5b10d51)

Co-authored-by: Benjamin Peterson [email protected]

https://bugs.python.org/issue34004

Returning EINTR from pthread semaphore or lock acquisition is an optional POSIX
feature. musl does not provide this feature, so some threadsignal tests fail
when Python is built against it.

There's no good way to test for musl, so we skip if we're on Linux and not using
glibc pthreads.

Also, hedge in the threading documentation about when we can provide interrupts
from lock acquisition.
(cherry picked from commit 5b10d51)

Co-authored-by: Benjamin Peterson <[email protected]>
@miss-islington
Copy link
Contributor Author

@benjaminp: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 5a435ea into python:3.6 Sep 12, 2018
@miss-islington miss-islington deleted the backport-5b10d51-3.6 branch September 12, 2018 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants