Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 14, 2023

Previously, we checked exclusively for __GLIBC__ (AND'd with some other
conditions). Checking for __linux__ instead should be fine.

This fixes using e.g. os.listxattr() on systems using musl libc.

Bug: https://bugs.gentoo.org/894130

(cherry picked from commit 8be8101)

Co-authored-by: Sam James [email protected]
Co-authored-by: Gregory P. Smith [email protected]

Previously, we checked exclusively for `__GLIBC__` (AND'd with some other
conditions). Checking for `__linux__` instead should be fine.

This fixes using e.g. `os.listxattr()` on systems using musl libc.

Bug: https://bugs.gentoo.org/894130

(cherry picked from commit 8be8101)

Co-authored-by: Sam James <[email protected]>
Co-authored-by: Gregory P. Smith <[email protected]>
@gpshead
Copy link
Member

gpshead commented Feb 14, 2023

Waiting for the buildbot results on the main branch commit before merging this just in case.

@gpshead gpshead self-assigned this Feb 14, 2023
@gpshead gpshead enabled auto-merge (squash) May 20, 2023 23:53
@gpshead gpshead merged commit 2e457bc into python:3.11 May 21, 2023
@miss-islington miss-islington deleted the backport-8be8101-3.11 branch May 21, 2023 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants