[IPython-dev] Fwd: Status of pre-0.10 reviews and merges

Robert Kern robert.kern at gmail.com
Wed Apr 8 15:06:43 EDT 2009


On 2009-04-08 13:03, Fernando Perez wrote:
> - 'from genutils import *'.  I realized there was so much of this in
> untested codepaths, that if I changed it to explicit imports the bugs
> might only appear for users in the end.  Perhaps now with pyflakes we
> could more easily change this to something like 'import genutils as
> util' and let pyflakes tell us where all the problems are, I don't
> know (I need to get my pyflakes-fu up to speed).

Yes, absolutely. This is very safe unless if you have a function with the same 
name as a builtin (e.g. numpy.sum has bitten me in the past).

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the IPython-dev mailing list