Skip to content

Conversation

gvanrossum-ms
Copy link
Contributor

No description provided.

gvanrossum-ms and others added 30 commits October 5, 2025 18:57
- Make load_dotenv() also look in ./.env, ../.env, ../../.env, all the
way up till /.env
- Misc minor cleanups
- Remove out-of-spec get_related_terms() methods
- Rename _terms_to_ordinal to _added terms in SqliteRelatedTermsFuzzy
- Disable remove_term() -- it cannot work for now
- Remove lookup fallback function
- Simplify and correct RelatedTermsFuzzy table to just (term, embedding)
-

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gvanrossum-ms <184014243+gvanrossum-ms@users.noreply.github.com>
_prepare_term() now strips whitespace, normalizes interior whitespace,
and normalizes Unicode to NFC form (canonical composition).

There are new tests for all this and a few related edge cases.
Also fix some skipped tests.
@gvanrossum gvanrossum merged commit d493e11 into main Oct 6, 2025
3 checks passed
@gvanrossum gvanrossum deleted the sync branch October 6, 2025 02:11
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.

2 participants