471,354 Members | 2,062 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

code check for modifying sequence while iterating over it?

After just getting bitten by this error, I wonder if any pylint, pychecker
variant can detect this error?

Aug 31 '07 #1
1 1123
Neal Becker <nd*******@gmail.comwrote:
After just getting bitten by this error, I wonder if any pylint, pychecker
variant can detect this error?
I know pychecker can't (and I doubt pylint can, but I can't download the
latest version to check as logilab's website is temporarily down for
maintenance right now). It's a very thorny problem to detect a
reasonable subset of likely occurrences of this bug by static analysis
only, i.e., without running the code:-(
Alex
Sep 2 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Peter Ballard | last post: by
20 posts views Thread by Lucas Raab | last post: by
5 posts views Thread by sandravandale | last post: by
12 posts views Thread by AES | last post: by
4 posts views Thread by dustin.getz | last post: by
19 posts views Thread by Charles Sullivan | last post: by
7 posts views Thread by schickb | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.