diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-17 12:45:13 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-17 12:45:13 (GMT) |
commit | 6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5 (patch) | |
tree | 68fa306974cc05de44d5c5c07ba62a739db3aa72 /Mac/Tools/IDE/PyDebugger.py | |
parent | dfebe90c4c04a7a36e4542907118ddce97085868 (diff) | |
download | cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.zip cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.gz cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.bz2 |
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
Diffstat (limited to 'Mac/Tools/IDE/PyDebugger.py')
-rw-r--r-- | Mac/Tools/IDE/PyDebugger.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Mac/Tools/IDE/PyDebugger.py b/Mac/Tools/IDE/PyDebugger.py index 866bc1b..61ce17b 100644 --- a/Mac/Tools/IDE/PyDebugger.py +++ b/Mac/Tools/IDE/PyDebugger.py @@ -72,7 +72,7 @@ class Debugger(bdb.Bdb): self.botframe = bottomframe if running: self.set_continue() - self.reason = 'Running' + self.reason = 'Running' self.setstate('running') else: self.set_step() @@ -187,7 +187,7 @@ class Debugger(bdb.Bdb): def makeoptionsmenu(self): options = [('Clear breakpoints', self.w.panes.bottom.src.source.clearbreakpoints), ('Clear all breakpoints', self.clear_all_breaks), - ('Edit breakpoints', self.edit_breaks), '-', + ('Edit breakpoints', self.edit_breaks), '-', (self.tracemagic and 'Disable __magic__ tracing' or 'Enable __magic__ tracing', self.togglemagic)] self.w.panes.bottom.src.optionsmenu.set(options) @@ -318,7 +318,7 @@ class Debugger(bdb.Bdb): def running(self): W.SetCursor('watch') - self.reason = 'Running' + self.reason = 'Running' self.setstate('running') #self.w.panes.bottom.src.source.set('') #self.w.panes.browserpanes.stacklist.stack.set([]) @@ -350,7 +350,7 @@ class Debugger(bdb.Bdb): try: f, filename, (suff, mode, dummy) = imp.find_module(modname) except ImportError: - self.w.panes.bottom.src.source.set('can¹t find file') + self.w.panes.bottom.src.source.set('canÕt find file') else: if f: f.close() @@ -360,9 +360,9 @@ class Debugger(bdb.Bdb): f.close() self.w.panes.bottom.src.source.set(data, filename) else: - self.w.panes.bottom.src.source.set('can¹t find file') + self.w.panes.bottom.src.source.set('canÕt find file') else: - self.w.panes.bottom.src.source.set('can¹t find file') + self.w.panes.bottom.src.source.set('canÕt find file') else: self.w.panes.bottom.src.source.set(data, filename) self.file = filename @@ -682,7 +682,7 @@ class BreakpointsViewer: self.w.panes.files = W.List(None, callback = self.filehit) #, flags = Lists.lOnlyOne) self.w.panes.gr = W.Group(None) self.w.panes.gr.breaks = W.List((0, 0, -130, 0), callback = self.linehit) #, flags = Lists.lOnlyOne) - self.w.panes.gr.openbutton = W.Button((-80, 4, 0, 16), 'View', self.openbuttonhit) + self.w.panes.gr.openbutton = W.Button((-80, 4, 0, 16), 'View', self.openbuttonhit) self.w.panes.gr.deletebutton = W.Button((-80, 28, 0, 16), 'Delete', self.deletebuttonhit) self.w.bind('<close>', self.close) @@ -880,7 +880,7 @@ _debugger = None def getdebugger(): if not __debug__: - raise W.AlertError, "Can¹t debug in ³Optimize bytecode² mode.\r(see ³Default startup options² in EditPythonPreferences)" + raise W.AlertError, "CanÕt debug in Optimize bytecode mode.\r(see Default startup options in EditPythonPreferences)" global _debugger if _debugger is None: _debugger = Debugger() |