Craig Holmquist <[EMAIL PROTECTED]> added the comment:

Actually, it looks like ANY warning will raise this error in IDLE.  For
example:

>>> import warnings
>>> warnings.warn('blah blah')

Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    warnings.warn('blah blah')
  File "C:\Python26\Lib\warnings.py", line 29, in _show_warning
    file.write(formatwarning(message, category, filename, lineno, line))
TypeError: idle_formatwarning_subproc() takes exactly 4 arguments (5 given)

----------
title: Attempting to import deprecated modules in IDLE raises TypeError -> 
Warnings in IDLE raise TypeError (such as attempting to import deprecated 
modules)

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4043>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to