re PR libstdc++/65246 (libstdc++ pretty printers don't work anymore with Python3)
authorMatthias Klose <doko@ubuntu.com>
Sat, 28 Feb 2015 09:22:43 +0000 (09:22 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Sat, 28 Feb 2015 09:22:43 +0000 (09:22 +0000)
2015-02-28  Matthias Klose  <doko@ubuntu.com>

        PR libstdc++/65246
        * python/libstdcxx/v6/__init__.py: Use explicit relative imports.

From-SVN: r221076

libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/__init__.py

index 6f283c556ad0ed56355f16a16d9eed5b644f602a..093b318794e076f01bbf30790ca3151975bc71b2 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-28  Matthias Klose  <doko@ubuntu.com>
+
+       PR libstdc++/65246
+       * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
+
 2015-02-22  Jonathan Wakely  <jwakely@redhat.com>
 
        * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
index 59088402d0b196ce422f207690554b65d5499c27..de3aa728cebb4827a85db27a693b327d0dd6a305 100644 (file)
@@ -16,7 +16,7 @@
 import gdb
 
 # Load the pretty-printers.
-from printers import register_libstdcxx_printers
+from .printers import register_libstdcxx_printers
 register_libstdcxx_printers(gdb.current_objfile())
 
 # Load the xmethods if GDB supports them.
@@ -28,5 +28,5 @@ def gdb_has_xmethods():
         return False
 
 if gdb_has_xmethods():
-    from xmethods import register_libstdcxx_xmethods
+    from .xmethods import register_libstdcxx_xmethods
     register_libstdcxx_xmethods(gdb.current_objfile())