[issue10951] gcc 4.6 warnings

Brett Cannon report at bugs.python.org
Thu Feb 3 00:01:03 CET 2011


Brett Cannon <brett at python.org> added the comment:

Just a comment on those warnings about unused assignments; think about commenting them out instead of flat-out deleting them. When I ran clang over Python 2.7 I got some blow-back from deleting some assignments as some found them to be like documentation. In instances where the assignment helps explain what is going on it is best to just comment the code out.

----------

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


More information about the Python-bugs-list mailing list