[issue4043] Warnings in IDLE raise TypeError (such as attempting to import deprecated modules)

Russell Blau report at bugs.python.org
Wed Oct 15 18:54:23 CEST 2008


Russell Blau <russblau at yahoo.com> added the comment:

This error is caused by line 27 in run.py:

    def idle_formatwarning_subproc(message, category, filename, lineno):

needs to be changed to --

    def idle_formatwarning_subproc(message, category, filename, lineno, 
line=None):

so that the function signature matches that of warnings.formatwarning

----------
nosy: +russblau

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


More information about the Python-bugs-list mailing list