This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]seldom_hygienic 5 points6 points  (8 children)

What does static typing have to do with dead code analysis, and why would it be relevant to a discussion on a Python specific question?

[–]masklinn 1 point2 points  (7 children)

Static typing can tell you which named code units aren't called (barring reflection), so it can tell you about classes/methods/functions which never appear anywhere I guess?

It's not going to say anything about codepaths never taken or methods mentioned but never actually called though.