[New-bugs-announce] [issue16887] IDLE - tabify/untabify applied when clicking Cancel

Roger Serwy report at bugs.python.org
Mon Jan 7 21:57:42 CET 2013


New submission from Roger Serwy:

Krystian Rosiński notified me about an error with Tabify/Untabify. Clicking cancel still performs the operation because the _asktabwidth function in Lib/idlelib/EditorWindow.py always returns a number, regardless of cancel being clicked.

This bug is visibly noticeable with IdleX since it highlights all \t Tabs, but not with the original IDLE.

The attached patch solves the problem.

----------
components: IDLE
files: tabify.patch
keywords: patch
messages: 179282
nosy: serhiy.storchaka, serwy
priority: low
severity: normal
stage: patch review
status: open
title: IDLE - tabify/untabify applied when clicking Cancel
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28620/tabify.patch

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


More information about the New-bugs-announce mailing list