[issue4423] 2to3 replaces "arbitrary" variables

Martin v. Löwis report at bugs.python.org
Wed Nov 26 20:00:38 CET 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

> I wonder if a better way would be to configure the imports fixer
> through the options dict passed to RefactoringTool. i.e.
> 
>  RefactoringTool(..., {"fix_imports:dont_transform" : ["commands",
> "other_module"]})

That's very obscure, IMO. I didn't know that syntax existed, and
I can't guess easily what it means (in general).

In the specific case, it's also difficult to pass the options,
since the distutils command doesn't support doing so.

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


More information about the Python-bugs-list mailing list