DavidSpickett created this revision.
Herald added a project: All.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Not needed now that we require python 3.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131772

Files:
  lldb/examples/customization/bin-utils/binutils.py
  lldb/examples/customization/import-python/importcmd.py
  lldb/examples/customization/pwd-cd-and-system/utils.py
  lldb/examples/darwin/heap_find/heap.py
  lldb/examples/python/bsd.py
  lldb/examples/python/cmdtemplate.py
  lldb/examples/python/delta.py
  lldb/examples/python/diagnose_nsstring.py
  lldb/examples/python/diagnose_unwind.py
  lldb/examples/python/gdbremote.py
  lldb/examples/python/globals.py
  lldb/examples/python/jump.py
  lldb/examples/python/lldb_module_utils.py
  lldb/examples/python/lldbtk.py
  lldb/examples/python/mach_o.py
  lldb/examples/python/memory.py
  lldb/examples/python/performance.py
  lldb/examples/python/process_events.py
  lldb/examples/python/pytracer.py
  lldb/examples/python/scripted_step.py
  lldb/examples/python/shadow.py
  lldb/examples/python/sources.py
  lldb/examples/python/stacks.py
  lldb/examples/python/symbolication.py
  lldb/examples/python/types.py
  lldb/examples/scripting/tree_utils.py
  lldb/examples/summaries/cocoa/CFBitVector.py
  lldb/examples/summaries/cocoa/Logger.py
  lldb/examples/summaries/cocoa/NSNumber.py
  lldb/examples/synthetic/gnu_libstdcpp.py

Index: lldb/examples/synthetic/gnu_libstdcpp.py
===================================================================
--- lldb/examples/synthetic/gnu_libstdcpp.py
+++ lldb/examples/synthetic/gnu_libstdcpp.py
@@ -1,4 +1,3 @@
-from __future__ import division
 import lldb.formatters.Logger
 
 # C++ STL formatters for LLDB
Index: lldb/examples/summaries/cocoa/NSNumber.py
===================================================================
--- lldb/examples/summaries/cocoa/NSNumber.py
+++ lldb/examples/summaries/cocoa/NSNumber.py
@@ -8,8 +8,6 @@
 # example summary provider for NSNumber
 # the real summary is now C++ code built into LLDB
 
-from __future__ import print_function
-
 import lldb
 import ctypes
 import lldb.runtime.objc.objc_runtime
Index: lldb/examples/summaries/cocoa/Logger.py
===================================================================
--- lldb/examples/summaries/cocoa/Logger.py
+++ lldb/examples/summaries/cocoa/Logger.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import sys
 import os.path
 import inspect
Index: lldb/examples/summaries/cocoa/CFBitVector.py
===================================================================
--- lldb/examples/summaries/cocoa/CFBitVector.py
+++ lldb/examples/summaries/cocoa/CFBitVector.py
@@ -5,7 +5,6 @@
 See https://llvm.org/LICENSE.txt for license information.
 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 """
-from __future__ import print_function
 
 # summary provider for CF(Mutable)BitVector
 import lldb
Index: lldb/examples/scripting/tree_utils.py
===================================================================
--- lldb/examples/scripting/tree_utils.py
+++ lldb/examples/scripting/tree_utils.py
@@ -18,8 +18,6 @@
 http://lldb.llvm.org/scripting.html
 """
 
-from __future__ import print_function
-
 
 def DFS(root, word, cur_path):
     """
Index: lldb/examples/python/types.py
===================================================================
--- lldb/examples/python/types.py
+++ lldb/examples/python/types.py
@@ -9,8 +9,6 @@
 #   (lldb) command script import /path/to/cmdtemplate.py
 #----------------------------------------------------------------------
 
-from __future__ import print_function
-
 import platform
 import os
 import re
Index: lldb/examples/python/symbolication.py
===================================================================
--- lldb/examples/python/symbolication.py
+++ lldb/examples/python/symbolication.py
@@ -26,7 +26,6 @@
 #   PYTHONPATH=/path/to/LLDB.framework/Resources/Python ./crashlog.py ~/Library/Logs/DiagnosticReports/a.crash
 #----------------------------------------------------------------------
 
-from __future__ import print_function
 import lldb
 import optparse
 import os
Index: lldb/examples/python/stacks.py
===================================================================
--- lldb/examples/python/stacks.py
+++ lldb/examples/python/stacks.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-from __future__ import print_function
 import lldb
 import optparse
 import shlex
Index: lldb/examples/python/sources.py
===================================================================
--- lldb/examples/python/sources.py
+++ lldb/examples/python/sources.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-from __future__ import print_function
 
 import lldb
 import shlex
Index: lldb/examples/python/shadow.py
===================================================================
--- lldb/examples/python/shadow.py
+++ lldb/examples/python/shadow.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-from __future__ import print_function
 
 import lldb
 import shlex
Index: lldb/examples/python/scripted_step.py
===================================================================
--- lldb/examples/python/scripted_step.py
+++ lldb/examples/python/scripted_step.py
@@ -93,8 +93,6 @@
 #
 #     (lldb) thread step-scripted -C scripted_step.StepWithPlan
 
-from __future__ import print_function
-
 import lldb
 
 
Index: lldb/examples/python/pytracer.py
===================================================================
--- lldb/examples/python/pytracer.py
+++ lldb/examples/python/pytracer.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import sys
 import inspect
 from collections import OrderedDict
Index: lldb/examples/python/process_events.py
===================================================================
--- lldb/examples/python/process_events.py
+++ lldb/examples/python/process_events.py
@@ -8,8 +8,6 @@
 #   export PYTHONPATH=/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python
 #----------------------------------------------------------------------
 
-from __future__ import print_function
-
 import optparse
 import os
 import platform
Index: lldb/examples/python/performance.py
===================================================================
--- lldb/examples/python/performance.py
+++ lldb/examples/python/performance.py
@@ -8,8 +8,6 @@
 #   export PYTHONPATH=/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python
 #----------------------------------------------------------------------
 
-from __future__ import print_function
-
 import optparse
 import os
 import platform
Index: lldb/examples/python/memory.py
===================================================================
--- lldb/examples/python/memory.py
+++ lldb/examples/python/memory.py
@@ -9,8 +9,6 @@
 #   (lldb) command script import /path/to/cmdtemplate.py
 #----------------------------------------------------------------------
 
-from __future__ import print_function
-
 import platform
 import os
 import re
Index: lldb/examples/python/mach_o.py
===================================================================
--- lldb/examples/python/mach_o.py
+++ lldb/examples/python/mach_o.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-from __future__ import print_function
 
 import cmd
 import dict_utils
Index: lldb/examples/python/lldbtk.py
===================================================================
--- lldb/examples/python/lldbtk.py
+++ lldb/examples/python/lldbtk.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-from __future__ import print_function
 
 import lldb
 import shlex
Index: lldb/examples/python/lldb_module_utils.py
===================================================================
--- lldb/examples/python/lldb_module_utils.py
+++ lldb/examples/python/lldb_module_utils.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-from __future__ import print_function
 
 import lldb
 import optparse
Index: lldb/examples/python/jump.py
===================================================================
--- lldb/examples/python/jump.py
+++ lldb/examples/python/jump.py
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 import lldb
 import re
 
Index: lldb/examples/python/globals.py
===================================================================
--- lldb/examples/python/globals.py
+++ lldb/examples/python/globals.py
@@ -7,7 +7,6 @@
 # For the shells sh, bash:
 #   PYTHONPATH=/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python ./globals.py <path> [<path> ...]
 #----------------------------------------------------------------------
-from __future__ import print_function
 
 import lldb
 import optparse
Index: lldb/examples/python/gdbremote.py
===================================================================
--- lldb/examples/python/gdbremote.py
+++ lldb/examples/python/gdbremote.py
@@ -16,7 +16,6 @@
 # available.
 #----------------------------------------------------------------------
 
-from __future__ import print_function
 import binascii
 import subprocess
 import json
Index: lldb/examples/python/diagnose_unwind.py
===================================================================
--- lldb/examples/python/diagnose_unwind.py
+++ lldb/examples/python/diagnose_unwind.py
@@ -5,7 +5,6 @@
 # information about the stack frames, and tries an alternate unwind
 # algorithm, that will help to understand why lldb's unwind algorithm
 # did not succeed.
-from __future__ import print_function
 
 import optparse
 import lldb
Index: lldb/examples/python/diagnose_nsstring.py
===================================================================
--- lldb/examples/python/diagnose_nsstring.py
+++ lldb/examples/python/diagnose_nsstring.py
@@ -4,8 +4,6 @@
 # decisions it did and  providing some useful context information that can
 # be used for improving the formatter
 
-from __future__ import print_function
-
 import lldb
 
 
Index: lldb/examples/python/delta.py
===================================================================
--- lldb/examples/python/delta.py
+++ lldb/examples/python/delta.py
@@ -16,8 +16,6 @@
 # available.
 #----------------------------------------------------------------------
 
-from __future__ import print_function
-
 import optparse
 import os
 import shlex
Index: lldb/examples/python/cmdtemplate.py
===================================================================
--- lldb/examples/python/cmdtemplate.py
+++ lldb/examples/python/cmdtemplate.py
@@ -9,8 +9,6 @@
 #   (lldb) command script import /path/to/cmdtemplate.py
 # ---------------------------------------------------------------------
 
-from __future__ import print_function
-
 import inspect
 import lldb
 import optparse
Index: lldb/examples/python/bsd.py
===================================================================
--- lldb/examples/python/bsd.py
+++ lldb/examples/python/bsd.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-from __future__ import print_function
 
 import cmd
 import optparse
Index: lldb/examples/darwin/heap_find/heap.py
===================================================================
--- lldb/examples/darwin/heap_find/heap.py
+++ lldb/examples/darwin/heap_find/heap.py
@@ -8,7 +8,6 @@
 #   (lldb) script import lldb.macosx.heap
 #----------------------------------------------------------------------
 
-from __future__ import print_function
 import lldb
 import optparse
 import os
Index: lldb/examples/customization/pwd-cd-and-system/utils.py
===================================================================
--- lldb/examples/customization/pwd-cd-and-system/utils.py
+++ lldb/examples/customization/pwd-cd-and-system/utils.py
@@ -1,5 +1,4 @@
 """Utility for changing directories and execution of commands in a subshell."""
-from __future__ import print_function
 
 import os
 import shlex
Index: lldb/examples/customization/import-python/importcmd.py
===================================================================
--- lldb/examples/customization/import-python/importcmd.py
+++ lldb/examples/customization/import-python/importcmd.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import sys
 import os
 import lldb
Index: lldb/examples/customization/bin-utils/binutils.py
===================================================================
--- lldb/examples/customization/bin-utils/binutils.py
+++ lldb/examples/customization/bin-utils/binutils.py
@@ -1,7 +1,5 @@
 "Collection of tools for displaying bit representation of numbers."""
 
-from __future__ import print_function
-
 def binary(n, width=None):
     """
     Return a list of (0|1)'s for the binary representation of n where n >= 0.
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to