Skip to content

[polib] Correct optional paths and message contexts - #16796

Merged
srittau merged 1 commit into
python:mainfrom
iamabhisheknag:fix/polib-optional-attributes
Nov 14, 2026
Merged

srittau merged 1 commit into
python:mainfrom
iamabhisheknag:fix/polib-optional-attributes

Conversation

@iamabhisheknag

Copy link
Copy Markdown
Contributor

Allow None for file paths and message contexts, retain supported path-like filenames, and accept find(..., msgctxt=None) to select contextless entries, matching upstream file initialization, entry initialization, and context filtering.

AI assistance: OpenAI coding assistant (GPT-6).

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit a12e9a1 into python:main Nov 14, 2026
74 checks passed
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