-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Avoid writing non-latin1 module names in the file #5874
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
Conversation
@@ -57,19 +48,27 @@ cdef struct S: | |||
int x | |||
|
|||
cdef public api void cdef_func() # just to test generation of headers | |||
|
|||
############ 测试.py ############# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Google translate tells me this translates as "test"
I want to backport this PR so they aren't useful right now
We should change the I/O encoding used in EndToEnd tests to UTF-8: |
… and avoid potentially failing to do so. Closes #5873
3.0.x commit: a6fecd0 |
This reverts commit a6fecd0. Reverted due to missing changes that are currently only available in Cython 3.1.
Could we pick the fix but not the test into 3.0.x? I think it's only writing the test output that's the problem and there's no reason not to have the fix? |
…ils in the stable 3.0 branch for other reasons). Closes #5873
Done in 6ec1291 |
…on 3.0.7 Stefan Behnel (10): Set the encoding used in EndToEnd tests to UTF-8 on all platforms since we read it from a pipe anyway and don't want to care about platform specific encoding issues. Revert "Avoid writing non-latin1 module names in the file (GH-5874)" Revert "Set the encoding used in EndToEnd tests to UTF-8 on all platforms since we read it from a pipe anyway and don't want to care about platform specific encoding issues." Manually apply the safe fix from cython/cython#5874 but without the test (which fails in the stable 3.0 branch for other reasons). Fix a set usage bug in Errors.warn_once(). Update changelog. Update changelog. Update changelog. Prepare release of 3.0.7. Update changelog. da-woods (6): Avoid writing non-latin1 module names in the file (GH-5874) Clarify performance hint wording (#5883) Fix an issue trying list.index indexing in FusedNode (#5896) Fix some exceptions in the unicode cimports (#5902) Fix conflicting enum to_py function with multiple modules (#5887) Fix await/yield/yield from in genexpression iteration (GH-5898)
Fixes #5873