[Python-porting] python-future: scripts generate unwanted output
Eric Firing
efiring.ocean at gmail.com
Fri Jul 25 10:21:54 CEST 2014
I have used futurize plus some manual fixup in an ongoing attempt to
port a package. Some of it is now working on both Python 2 and 3, but
although scripts work correctly, they begin by spewing an enormous
number of lines like:
Detecting hooks ...
Not detected.
Uninstalling hooks ...
Not removing future.types.newobject
Not removing future.types.newdict
Not removing future.types.math
Not removing future.builtins.newnext
...
and/or
Generating grammar tables from /usr/lib/python3.4/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
Adding transformation: division
Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
Adding transformation: print_with_import
Why is this happening, and how can I suppress it? Is it related to use
of the logging module?
Eric
More information about the Python-porting
mailing list