[issue17516] Dead code should be removed
STINNER Victor
report at bugs.python.org
Fri Mar 22 02:24:28 CET 2013
STINNER Victor added the comment:
Here is a concrete patch.
> Your "dead code" looks like multiline comments (at least it is
> in the email case). I thought those were optimized away when
> the pyc is written.
Oh, it looks like you are right: useless strings are already removed during compilation. But it looks a little bit surprising to me to use a multiline string for a comment. I prefer classic # comments.
> What is "almost dead code"? If it is the stuff that is only
> applicable to a given platform, then presumably it is needed
> for that platform and why it it worth mentioning?
It's just for information, just ignore these "warnings" :-)
----------
keywords: +patch
Added file: http://bugs.python.org/file29541/deadcode.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17516>
_______________________________________
More information about the Python-bugs-list
mailing list