-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
test_compileall.EncodingTest
is broken
#117389
Comments
sobolevn
added
type-bug
An unexpected behavior, bug, or error
tests
Tests in the Lib/test dir
stdlib
Python modules in the Lib dir
labels
Mar 30, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Mar 30, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Mar 30, 2024
How do you get the error? What is the purpose of compileall if errors are ignored? Test if no crashes? PR looks reasonable, but I can't test if I can't reproduce. |
@terryjreedy this is what happens when you change |
sobolevn
added a commit
that referenced
this issue
May 5, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 5, 2024
(cherry picked from commit 44f6791) Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 5, 2024
(cherry picked from commit 44f6791) Co-authored-by: Nikita Sobolev <[email protected]>
This was referenced May 5, 2024
SonicField
pushed a commit
to SonicField/cpython
that referenced
this issue
May 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
This test was added a long time ago as a part of 4b00307
But, it is broken right now for several reasons:
print
keyword from Python2, which really results inBut, we cannot see this failure, because the result of
compile_all
is ignored. Andsys.stdout
is not checked as well.I will send a PR with the fix.
Linked PRs
test_compileall.EncodingTest
#117390test_compileall.EncodingTest
(GH-117390) #118603test_compileall.EncodingTest
(GH-117390) #118604The text was updated successfully, but these errors were encountered: