Skip to content

Update patch.pyi for whatthepatch project (Change named tuple)#15796

Merged
srittau merged 2 commits into
python:mainfrom
babenek:patch-1
May 19, 2026
Merged

Update patch.pyi for whatthepatch project (Change named tuple)#15796
srittau merged 2 commits into
python:mainfrom
babenek:patch-1

Conversation

@babenek

@babenek babenek commented May 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

This comment has been minimized.

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this really be bytes? All the functions I looked at that use this, use str regex pattern, so they should not work with bytes and wouldn't return a bytes line.

@babenek

babenek commented May 19, 2026

Copy link
Copy Markdown
Contributor Author

@srittau , yes it can be bytes cscorley/whatthepatch#53.

@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 dfdfb1a into python:main May 19, 2026
44 checks passed
@babenek babenek deleted the patch-1 branch May 20, 2026 05:35
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