Reverted the last change to the Python3 debugger backend.

Sun, 10 Jan 2010 13:58:01 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 10 Jan 2010 13:58:01 +0000
changeset 43
2fdc635b106a
parent 42
23b45a742e17
child 44
fe5cd20cb0eb

Reverted the last change to the Python3 debugger backend.

DebugClients/Python3/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python3/DebugClientBase.py	Sat Jan 09 19:43:36 2010 +0000
+++ b/DebugClients/Python3/DebugClientBase.py	Sun Jan 10 13:58:01 2010 +0000
@@ -205,7 +205,7 @@
         
         self.compile_command = codeop.CommandCompiler()
         
-        self.coding_re = re.compile(br"coding[:=]\s*([-\w_.]+)")
+        self.coding_re = re.compile(r"coding[:=]\s*([-\w_.]+)")
         self.defaultCoding = 'utf-8'
         self.__coding = self.defaultCoding
         self.noencoding = False
@@ -241,7 +241,7 @@
             for l in text.splitlines():
                 m = self.coding_re.search(l)
                 if m:
-                    self.__coding = m.group(1).decode()
+                    self.__coding = m.group(1)
                     return
             self.__coding = default
 

eric ide

mercurial