-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
Remove dead code from gen.pyx #13377
Comments
Attachment: trac_13377-dead_code_gen_pyx.patch.gz |
Author: Alex Ghitza |
Changed keywords from easy to easy, sd51 |
comment:1
Removed the code in question. |
comment:2
The description mentions two blocks to be removed but the patch only removes one. Why? |
comment:3
Ah, forgot to mention that the other block has already disappeared. You can see this by (a) looking at what happens when you apply the patch and rebuild sage--there are no other warnings about unreachable code; and/or (b) reading the very short function |
Reviewer: Frédéric Chapoton |
comment:4
looks good to me, positive review |
Merged: sage-5.12.beta0 |
I get two complaints about unreachable code in
sage/libs/pari/gen.pyx
fortoGEN
(line 9197 after #12215) and_coerce_c_impl
(line 9670 after #12215) and the compiler is correct if I read the code correctly. The edits causing this both are from the pre-trac ticket era (2007 and 2006 respectively)Component: interfaces
Keywords: easy, sd51
Author: Alex Ghitza
Reviewer: Frédéric Chapoton
Merged: sage-5.12.beta0
Issue created by migration from https://trac.sagemath.org/ticket/13377
The text was updated successfully, but these errors were encountered: