[issue18242] IDLE should not be replacing warnings.formatwarning

Brett Cannon report at bugs.python.org
Mon Jun 17 16:59:20 CEST 2013


New submission from Brett Cannon:

Both idlelib.run and idlelib.PyShell replace warning.formatwarning which is a no-no. Only warning.showwarning is design to be replaced in any way. The proper solution is to replace warnings.showwarning with code that calls whatever formatting function you provide.

----------
components: IDLE
messages: 191344
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE should not be replacing warnings.formatwarning
type: behavior
versions: Python 3.4

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


More information about the Python-bugs-list mailing list