Collin Winter <[EMAIL PROTECTED]> added the comment:

Victor: that's a common problem in most fixers. The analysis needed to
statically determine whether a given identifier is a module or not is
expensive and heuristic.

One of our Summer of Code students has been working on adding a new
feature to 2to3 whereby fixers can apply confidence estimates to the
changes they make, allowing you to say "if 2to3 is 95+% confident, apply
the fix, otherwise, let me see a diff first". This could be
theoretically extended to allow other annotations, such as "changing an
identifier", which you could filter on.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3606>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to