-
Notifications
You must be signed in to change notification settings - Fork 1.7k
The switch from Bytecode to AST has revealed differences in behavior which were approved #38782
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
Comments
These failures are among hundreds of other approved test failures (see test results dashboard for the full list), and they were failing before bytecode was enabled. Some of them are even mentioned in status files and originate before status-file free workflow. They just happened to be fixed by new bytecode pipeline due to various reasons (for example, bypassing certain bugs in AST serialization or flow graph construction). Is there any particular reason to look at them and not other failures, especially given that they will be fixed by switching to the new bytecode pipeline? |
Just because they are seemingly passing on bytecode pipeline doesn't mean that there isn't a bug. For example the |
Here is my understanding why some of these tests fail with AST but pass with bytecode:
|
Thank you very much for the analysis, @alexmarkov !
We should investigate this issue. I've filed #38812 for the CFE team. @johnniwinther already fixed the bug. Do we know why the bytecode compiler didn't barf when seeing a
Yes, but if the problem doesn't reproduce anymore with bytecode on-by-default it's hard to know the bug is still there. Attempting to reproduce it might fail and the issue might get closed. At least we have to ping the github issue to say that turning bytecode on will make the issue disappear but the bug is probably still there. |
From the call stack of the crash it looks like |
It seems at least the following failures were approved after the change from Bytecode -> AST has landed in 8bf424e / cl/120720.
These failures should be investigated and triaged.
(The failures have been approved - but I haven't found any github issue for it!)
/cc @mraleph @a-siva @alexmarkov
The text was updated successfully, but these errors were encountered: