This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients loewis, pitrou, skrah, vstinner
Date 2011-10-08.16:21:03
SpamBayes Score 0.015706092
Marked as misclassified No
Message-id <1318090864.11.0.648493474468.issue13130@psf.upfronthosting.co.za>
In-reply-to
Content
Following patch seems to fix it:

diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -1152,7 +1152,7 @@ class PyUnicodeObjectPtr(PyObjectPtr):
                     field_str = field_str.cast(_type_unsigned_char_ptr)
                 elif repr_kind == 2:
                     field_str = field_str.cast(_type_unsigned_short_ptr)
-                elif repr_kind == 3:
+                elif repr_kind == 4:
                     field_str = field_str.cast(_type_unsigned_int_ptr)
         else:
             # Python 3.2 and earlier
History
Date User Action Args
2011-10-08 16:21:04pitrousetrecipients: + pitrou, loewis, vstinner, skrah
2011-10-08 16:21:04pitrousetmessageid: <1318090864.11.0.648493474468.issue13130@psf.upfronthosting.co.za>
2011-10-08 16:21:03pitroulinkissue13130 messages
2011-10-08 16:21:03pitroucreate