Skip to content

Work around a CPython bug that broke things on Android <24 - #3504

Open
A5rocks wants to merge 1 commit into
python-trio:mainfrom
A5rocks:avoid-android-error
Open

Work around a CPython bug that broke things on Android <24#3504
A5rocks wants to merge 1 commit into
python-trio:mainfrom
A5rocks:avoid-android-error

Conversation

@A5rocks

@A5rocks A5rocks commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #3493

CPython should be fine with this by 3.16, since python/cpython#156708 was merged. I think it missed the release window for 3.15, though.

@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00000%. Comparing base (d5eb534) to head (ecb7399).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@               Coverage Diff               @@
##                 main        #3504   +/-   ##
===============================================
  Coverage   100.00000%   100.00000%           
===============================================
  Files             128          128           
  Lines           19452        19454    +2     
  Branches         1321         1321           
===============================================
+ Hits            19452        19454    +2     
Files with missing lines Coverage Δ
src/trio/socket.py 100.00000% <100.00000%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@A5rocks
A5rocks force-pushed the avoid-android-error branch from d52b73f to d8149fe Compare September 5, 2026 18:09
@A5rocks
A5rocks force-pushed the avoid-android-error branch from d8149fe to ecb7399 Compare September 5, 2026 18:15
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.

Android API 24 runtime still lacks if_indextoname and if_nametoindex

2 participants