Skip to content

easier python fallback - #314

Merged
jquast merged 4 commits into
masterfrom
easier-python-fallback
Nov 9, 2026
Merged

jquast merged 4 commits into
masterfrom
easier-python-fallback

Conversation

@jquast

@jquast jquast commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

also support fallback import as described and tested

Use the example of recently introduced iter_graphemes_reverse(), and elaborate on the description of "why we do this" -- that submodule import paths are an unfortunate part of the API that we keep backwards compatibility for.

This is a rare case maybe only I would have, "new python, old C module",
in my case it was the new iter_graphemes_reverse, that it would fail to
import due to an ImportError. We can fallback to python in those rare
cases.
@codspeed

codspeed Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 137 untouched benchmarks


Comparing easier-python-fallback (f1c229c) with master (b681953)

Open in CodSpeed

@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.14%. Comparing base (b681953) to head (f1c229c).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #314   +/-   ##
=======================================
  Coverage   88.14%   88.14%           
=======================================
  Files          41       41           
  Lines        5633     5634    +1     
  Branches     1508     1508           
=======================================
+ Hits         4965     4966    +1     
  Misses        318      318           
  Partials      350      350           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jquast
jquast merged commit 0e30e30 into master Nov 9, 2026
33 checks passed
@jquast
jquast deleted the easier-python-fallback branch November 9, 2026 19:31
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.

1 participant