[Idle-dev] idle on 2.6+ and warnings

Scott David Daniels Scott.Daniels at Acm.Org
Mon Jun 9 01:42:22 CEST 2008


idle's warnings formatters need to grow another arg (line = None),
just as the formatwarnings function in the warnings module grew one.

This is needed for:
In idlelib.PyShell.py:
     idle_showwarning
     idle_formatwarning

and in idlelib.run.py:
     idle_formatwarning_subproc

I noticed this when I tried code that did "import md5".


-Scott David Daniels
Scott.Daniels at Acm.Org



More information about the IDLE-dev mailing list