This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gcoffin
Recipients gcoffin
Date 2008-08-27.12:29:58
SpamBayes Score 1.0625522e-05
Marked as misclassified No
Message-id <1219840200.32.0.559754862412.issue3698@psf.upfronthosting.co.za>
In-reply-to
Content
In idle, the function idle_formatwarning_subproc overrides
warnings.formatwarning, however the latter in Python 2.6 is called from
warnings._show_warning with an additional "line" argument:

line 29, in _show_warning
file.write(formatwarning(message, category, filename, lineno, line))

whereas idle_formatwarning_subproc still only accepts 4 arguments. The
optional line argument should be added.
History
Date User Action Args
2008-08-27 12:30:00gcoffinsetrecipients: + gcoffin
2008-08-27 12:30:00gcoffinsetmessageid: <1219840200.32.0.559754862412.issue3698@psf.upfronthosting.co.za>
2008-08-27 12:29:59gcoffinlinkissue3698 messages
2008-08-27 12:29:59gcoffincreate