Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write stubs for C module with utf-8 encoding #17367

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

tadeu
Copy link
Contributor

@tadeu tadeu commented Jun 12, 2024

Avoid encoding errors if functions contain non-ASCII characters.

Avoid encoding errors if functions contain non-ASCII characters.
@tadeu
Copy link
Contributor Author

tadeu commented Jun 12, 2024

Sorry for the lack of new tests, this fix seems trivial enough, it's in the same direction of #16329 but adding a test here seems more complex (would involve adding a method with non-ASCII characters to pybind11_fixtures/src/main.cpp and updating expected files, but I'm not sure if adding a method there would break other tests).

@JelleZijlstra JelleZijlstra merged commit 8fb9969 into python:master Jun 12, 2024
14 checks passed
@tadeu tadeu deleted the patch-1 branch June 12, 2024 11:23
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