Message72023
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. |
|
Date |
User |
Action |
Args |
2008-08-27 12:30:00 | gcoffin | set | recipients:
+ gcoffin |
2008-08-27 12:30:00 | gcoffin | set | messageid: <1219840200.32.0.559754862412.issue3698@psf.upfronthosting.co.za> |
2008-08-27 12:29:59 | gcoffin | link | issue3698 messages |
2008-08-27 12:29:59 | gcoffin | create | |
|