[tahoe-lafs-trac-stream] [tahoe-lafs] #1555: add check-miscaptures.py script to check for incorrect variable captures in for loops
tahoe-lafs
trac at tahoe-lafs.org
Fri Oct 7 12:39:50 PDT 2011
#1555: add check-miscaptures.py script to check for incorrect variable captures in
for loops
-------------------------+-------------------------------------------------
Reporter: | Owner: somebody
davidsarah | Status: closed
Type: | Milestone: 1.10.0
enhancement | Version: 1.9.0a2
Priority: major | Keywords: miscapture coding-tools review-
Component: code | needed
Resolution: fixed |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Changes (by david-sarah@…):
* status: new => closed
* resolution: => fixed
Comment:
In [5401/ticket999-S3-backend]:
{{{
#!CommitTicketReference repository="ticket999-S3-backend" revision="5401"
Add misc/coding_tools/check-miscaptures.py to detect incorrect captures of
variables declared in a for loop, and a 'make check-miscaptures' Makefile
target to run it. (It is also run by 'make code-checks'.) This is a
rewritten version that reports much fewer false positives, by determining
captured variables more accurately. fixes #1555
}}}
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1555#comment:5>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list