You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of investigating a test failure on #159289 on Android, I noticed the stack size detection with pthread_getatttr_np is (seemingly unintentionally) disabled on Android, because it's Linux and not glibc and so Python/ceval.c:145 assumes it's musl. Investigating the claim that musl's pthread_getattr_np doesn't work right (added in #134336) a little further it seems that it's only a problem for the main thread, not for subsequent threads. We can probably fix the code to work right on musl, although it sure would be nice if we could reliably detect musl, given that it's functionally different in more than a few places.
I have a small PR fixing the test for Android, and I'm working on a bigger PR that tries to improve pthread_getattr_np handling on musl (and other platforms that give incorrect results).
Activity