[issue6250] Python compiles dead code

Raymond Hettinger report at bugs.python.org
Mon Jun 15 09:59:08 CEST 2009


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

I'm curious to whether this needs to be embedded in the compiler or
whether a standalone tool can be offered.  See
http://code.activestate.com/recipes/277940/ for an example of processing
the bytecodes directly.  FWIW, deadcode can already be detected by some
of the existing code quality tools: 
http://www.doughellmann.com/articles/CompletelyDifferent-2008-03-linters/index.html
.  What does this patch offer beyond what we already have with those tools?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6250>
_______________________________________


More information about the Python-bugs-list mailing list