Skip to content

Prevent backtracking in docstring section parsing - #1128

Merged
has2k1 merged 1 commit into
mainfrom
docstring-section-parsing
Sep 22, 2026
Merged

has2k1 merged 1 commit into
mainfrom
docstring-section-parsing

Conversation

@has2k1

@has2k1 has2k1 commented Sep 22, 2026

Copy link
Copy Markdown
Owner

This PR prevents excessive regex backtracking while parsing docstring section headings during plotnine imports.

Keep section headings on one line so ordinary prose cannot trigger excessive backtracking during imports.
@codecov

codecov Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1128   +/-   ##
=======================================
  Coverage   88.50%   88.50%           
=======================================
  Files         226      226           
  Lines       16613    16613           
  Branches     2130     2130           
=======================================
  Hits        14703    14703           
  Misses       1295     1295           
  Partials      615      615           

☔ 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.

@has2k1
has2k1 merged commit cb81719 into main Sep 22, 2026
14 checks passed
@has2k1
has2k1 deleted the docstring-section-parsing branch September 22, 2026 13:39
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