Commit b9764199 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Fix bug I created during merge from Python-idle.

Also, decided IDENTCHARS is better as global, after all.
parent e49dd4c6
...@@ -28,6 +28,8 @@ import idlever ...@@ -28,6 +28,8 @@ import idlever
import rpc import rpc
import RemoteDebugger import RemoteDebugger
IDENTCHARS = string.ascii_letters + string.digits + "_"
# XX hardwire this for now, remove later KBK 09Jun02 # XX hardwire this for now, remove later KBK 09Jun02
use_subprocess = 1 # Set to 1 to spawn subprocess for command execution use_subprocess = 1 # Set to 1 to spawn subprocess for command execution
...@@ -313,8 +315,6 @@ class ModifiedInterpreter(InteractiveInterpreter): ...@@ -313,8 +315,6 @@ class ModifiedInterpreter(InteractiveInterpreter):
linecache.cache[filename] = len(source)+1, 0, lines, filename linecache.cache[filename] = len(source)+1, 0, lines, filename
return filename return filename
IDENTCHARS = string.ascii_letters + string.digits + "_"
def showsyntaxerror(self, filename=None): def showsyntaxerror(self, filename=None):
"""Extend base class method: Add Colorizing """Extend base class method: Add Colorizing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment