[Python-checkins] r51186 - python/trunk/Lib/idlelib/NEWS.txt python/trunk/Lib/idlelib/ScriptBinding.py
kurt.kaiser
python-checkins at python.org
Thu Aug 10 03:41:19 CEST 2006
Author: kurt.kaiser
Date: Thu Aug 10 03:41:17 2006
New Revision: 51186
Modified:
python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/ScriptBinding.py
Log:
Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1)
Modified: python/trunk/Lib/idlelib/NEWS.txt
==============================================================================
--- python/trunk/Lib/idlelib/NEWS.txt (original)
+++ python/trunk/Lib/idlelib/NEWS.txt Thu Aug 10 03:41:17 2006
@@ -3,6 +3,8 @@
*Release date: XX-AUG-2006*
+- Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1)
+
- ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1).
- When used w/o subprocess, all exceptions were preceded by an error
Modified: python/trunk/Lib/idlelib/ScriptBinding.py
==============================================================================
--- python/trunk/Lib/idlelib/ScriptBinding.py (original)
+++ python/trunk/Lib/idlelib/ScriptBinding.py Thu Aug 10 03:41:17 2006
@@ -76,6 +76,9 @@
self.editwin.gotoline(nag.get_lineno())
self.errorbox("Tab/space error", indent_message)
return False
+ except IndentationError:
+ # From tokenize(), let compile() in checksyntax find it again.
+ pass
return True
def checksyntax(self, filename):
More information about the Python-checkins
mailing list