commit | a0d06cdf1ea437fe6b335b60832adfc95289a41b | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Wed Dec 14 23:27:53 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Wed Dec 14 23:27:53 2011 +0000 |
tree | dc95df10371229447e821558d95f32eea37a9ac1 | |
parent | 2fcf412d77ef17500c8d0dde82f0ac775f1261e7 [diff] |
Add more robustness - use PyString_CheckExact(pvalue) to check whether pvalue is a Python string before calling PyString_AsString(pvalue). Similar to http://llvm.org/viewvc/llvm-project?rev=146584&view=rev. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146606 91177308-0d34-0410-b5e6-96231b3b80d8