[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Brett Cannon

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis :


--
nosy: +Arfrever

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +kbk, roger.serwy, terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-26 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
assignee:  -> terry.reedy
versions: +Python 2.7, Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-26 Thread Terry J. Reedy

Terry J. Reedy added the comment:

See #18103 for patch that will fix this also.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-27 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
Removed message: http://bugs.python.org/msg191926

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-27 Thread Terry J. Reedy

Terry J. Reedy added the comment:

See #18101 for patch that will fix this also.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-28 Thread Roundup Robot

Roundup Robot added the comment:

New changeset c15d0baac3d6 by Terry Jan Reedy in branch '3.3':
Issue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
http://hg.python.org/cpython/rev/c15d0baac3d6

New changeset 89e0d33cb978 by Terry Jan Reedy in branch '2.7':
Issue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
http://hg.python.org/cpython/rev/89e0d33cb978

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-28 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com