You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2008-09-13.13:39:55.091>created_at=<Date2008-08-27.12:29:59.731>labels= ['expert-IDLE', 'type-crash']
title='incompatible arguments in warning formatting for idle'updated_at=<Date2008-09-13.13:39:55.090>user='https://bugs.python.org/gcoffin'
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: