EdgarTools 5.35.0
BDC non-accrual extraction no longer depends on a filer phrasing its footnotes exactly the way our whitelist expected, and a parsing gap is now surfaced as a warning rather than read as a confirmed zero.
Added
edgar.__version__— the installed version is now exposed at the package root (import edgar; edgar.__version__), following the standardpkg.__version__convention so downstream consumers can detect which version they have without readingedgar.__about__or runningpip show. (#794)NonAccrualResult.warnings— flags a portfolio that produced no non-accrual signal from any extraction layer, and recognized flags that resolved no investments, so an LLM consumer never mistakes a parsing gap for a confirmed zero. Surfaced into_context, mirroring theSection.warningspattern.
Fixed
- BDC non-accrual footnote detection is now robust to wording drift — the exact-phrase affirmative-pattern whitelist silently dropped any footnote a filer didn't phrase as an enumerated sentence. MAIN changed "Non-accrual and non-income producing…" to "…or…" and its 10-Q returned an empty list; PSEC's verb-less "Investment on non-accrual status as of the reporting date" matched nothing. The binary regex gate is replaced with a layered classifier (mention → negation → explicit pattern → structure-corroborated short label) that accepts short footnotes linked to specific investment facts regardless of exact phrasing, while long rollforward/policy footnotes stay excluded by length. Real-world impact: PSEC 0 → 5 non-accrual investments, GBDC now extracts footnote-level detail, MAIN/ARCC/FSK unchanged. (#835)
Install: pip install -U edgartools
Full Changelog: v5.34.0...v5.35.0