Fri, 31 Dec 2010 15:46:14 +0100
Marked the Python2 debugger client files with the new eflag: marker.
--- a/DebugClients/Python/AsyncFile.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/AsyncFile.py Fri Dec 31 15:46:14 2010 +0100 @@ -290,3 +290,6 @@ @param list the list to be written (list of string) """ map(self.write,list) + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/AsyncIO.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/AsyncIO.py Fri Dec 31 15:46:14 2010 +0100 @@ -84,3 +84,6 @@ @param s the data to be written (string) """ self.wbuf = self.wbuf + s + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DCTestResult.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DCTestResult.py Fri Dec 31 15:46:14 2010 +0100 @@ -77,4 +77,7 @@ rrdy, wrdy, xrdy = select.select([self.parent.readstream],[],[], 0.01) if self.parent.readstream in rrdy: - self.parent.readReady(self.parent.readstream.fileno()) \ No newline at end of file + self.parent.readReady(self.parent.readstream.fileno()) + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DebugBase.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DebugBase.py Fri Dec 31 15:46:14 2010 +0100 @@ -720,3 +720,6 @@ @return last debugger event (string) """ return self.__event + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DebugClient.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DebugClient.py Fri Dec 31 15:46:14 2010 +0100 @@ -36,3 +36,6 @@ if __name__ == '__main__': debugClient = DebugClient() debugClient.main() + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DebugClientBase.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DebugClientBase.py Fri Dec 31 15:46:14 2010 +0100 @@ -1935,3 +1935,6 @@ sysPath.insert(0, firstEntry) sysPath.insert(0, '') return sysPath + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DebugClientCapabilities.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DebugClientCapabilities.py Fri Dec 31 15:46:14 2010 +0100 @@ -17,3 +17,6 @@ HasAll = HasDebugger | HasInterpreter | HasProfiler | \ HasCoverage | HasCompleter | HasUnittest | HasShell + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DebugClientThreads.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DebugClientThreads.py Fri Dec 31 15:46:14 2010 +0100 @@ -191,3 +191,6 @@ if __name__ == '__main__': debugClient = DebugClientThreads() debugClient.main() + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DebugConfig.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DebugConfig.py Fri Dec 31 15:46:14 2010 +0100 @@ -15,3 +15,6 @@ 'instance method', 'property', 'generator',\ 'function', 'builtin_function_or_method', 'code', 'module',\ 'ellipsis', 'traceback', 'frame', 'other'] + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DebugProtocol.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DebugProtocol.py Fri Dec 31 15:46:14 2010 +0100 @@ -75,3 +75,6 @@ PassiveStartup = '>PassiveStartup<' EOT = '>EOT<\n' + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/DebugThread.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/DebugThread.py Fri Dec 31 15:46:14 2010 +0100 @@ -126,3 +126,6 @@ self._dbgClient.unlockClient() return retval + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/FlexCompleter.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/FlexCompleter.py Fri Dec 31 15:46:14 2010 +0100 @@ -244,4 +244,7 @@ if hasattr(klass,'__bases__'): for base in klass.__bases__: ret = ret + get_class_members(base) - return ret \ No newline at end of file + return ret + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/PyProfile.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/PyProfile.py Fri Dec 31 15:46:14 2010 +0100 @@ -159,3 +159,6 @@ "c_exception": profile.Profile.trace_dispatch_return, # the C function returned "c_return": profile.Profile.trace_dispatch_return, } + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/__init__.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/__init__.py Fri Dec 31 15:46:14 2010 +0100 @@ -8,3 +8,6 @@ It consists of different kinds of debug clients. """ + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/__init__.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/__init__.py Fri Dec 31 15:46:14 2010 +0100 @@ -80,4 +80,7 @@ # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH -# DAMAGE. \ No newline at end of file +# DAMAGE. + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/annotate.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/annotate.py Fri Dec 31 15:46:14 2010 +0100 @@ -94,4 +94,7 @@ dest.write('! ') dest.write(line) source.close() - dest.close() \ No newline at end of file + dest.close() + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/backward.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/backward.py Fri Dec 31 15:46:14 2010 +0100 @@ -70,3 +70,6 @@ """, "<exec_function>", "exec" )) + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/bytecode.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/bytecode.py Fri Dec 31 15:46:14 2010 +0100 @@ -79,3 +79,6 @@ raise StopIteration next = __next__ + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/cmdline.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/cmdline.py Fri Dec 31 15:46:14 2010 +0100 @@ -592,4 +592,7 @@ _, err, _ = sys.exc_info() print(err) status = ERR - return status \ No newline at end of file + return status + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/codeunit.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/codeunit.py Fri Dec 31 15:46:14 2010 +0100 @@ -141,4 +141,7 @@ # Couldn't find source. raise CoverageException( "No source for code %r." % self.filename - ) \ No newline at end of file + ) + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/collector.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/collector.py Fri Dec 31 15:46:14 2010 +0100 @@ -270,4 +270,7 @@ if self.branch: return self.data else: - return {} \ No newline at end of file + return {} + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/control.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/control.py Fri Dec 31 15:46:14 2010 +0100 @@ -343,4 +343,7 @@ if re.search("^COV|^PY", k) ]), ] - return info \ No newline at end of file + return info + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/data.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/data.py Fri Dec 31 15:46:14 2010 +0100 @@ -247,4 +247,7 @@ fname = sys.argv[1] else: fname = covdata.filename - pprint.pprint(covdata.raw_data(fname)) \ No newline at end of file + pprint.pprint(covdata.raw_data(fname)) + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/execfile.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/execfile.py Fri Dec 31 15:46:14 2010 +0100 @@ -47,4 +47,7 @@ # Restore the old argv and path sys.argv = old_argv - sys.path[0] = old_path0 \ No newline at end of file + sys.path[0] = old_path0 + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/files.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/files.py Fri Dec 31 15:46:14 2010 +0100 @@ -71,3 +71,6 @@ data = data.decode('utf8') # TODO: How to do this properly? return data return None + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/html.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/html.py Fri Dec 31 15:46:14 2010 +0100 @@ -179,4 +179,7 @@ """ html = re.sub(">\s+<p ", ">\n<p ", html) - return html \ No newline at end of file + return html + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/misc.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/misc.py Fri Dec 31 15:46:14 2010 +0100 @@ -67,3 +67,6 @@ class NoSource(CoverageException): """Used to indicate we couldn't find the source for a module.""" pass + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/parser.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/parser.py Fri Dec 31 15:46:14 2010 +0100 @@ -741,4 +741,7 @@ return arc_width, arc_chars if __name__ == '__main__': - AdHocMain().main(sys.argv[1:]) \ No newline at end of file + AdHocMain().main(sys.argv[1:]) + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/phystokens.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/phystokens.py Fri Dec 31 15:46:14 2010 +0100 @@ -104,4 +104,7 @@ col = ecol if line: - yield line \ No newline at end of file + yield line + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/report.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/report.py Fri Dec 31 15:46:14 2010 +0100 @@ -57,4 +57,7 @@ report_fn(cu, self.coverage._analyze(cu)) except NoSource: if not self.ignore_errors: - raise \ No newline at end of file + raise + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/results.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/results.py Fri Dec 31 15:46:14 2010 +0100 @@ -172,4 +172,7 @@ # Implementing 0+Numbers allows us to sum() a list of Numbers. if other == 0: return self - raise NotImplemented \ No newline at end of file + raise NotImplemented + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/summary.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/summary.py Fri Dec 31 15:46:14 2010 +0100 @@ -73,4 +73,7 @@ args += (total.pc_covered,) if self.show_missing: args += ("",) - outfile.write(fmt_coverage % args) \ No newline at end of file + outfile.write(fmt_coverage % args) + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/templite.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/templite.py Fri Dec 31 15:46:14 2010 +0100 @@ -164,3 +164,6 @@ else: value = self.context[expr] return value + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/coverage/xmlreport.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/coverage/xmlreport.py Fri Dec 31 15:46:14 2010 +0100 @@ -143,4 +143,7 @@ package[1] += class_hits package[2] += class_lines package[3] += class_branch_hits - package[4] += class_branches \ No newline at end of file + package[4] += class_branches + +# +# eflag: FileType = Python2
--- a/DebugClients/Python/eric5dbgstub.py Fri Dec 31 15:45:32 2010 +0100 +++ b/DebugClients/Python/eric5dbgstub.py Fri Dec 31 15:46:14 2010 +0100 @@ -79,4 +79,7 @@ global debugger if debugger: debugger.startDebugger(enableTrace = enableTrace, exceptions = exceptions, - tracePython = tracePython, redirect = redirect) \ No newline at end of file + tracePython = tracePython, redirect = redirect) + +# +# eflag: FileType = Python2