Skip to content
Commit a2b514a3 authored by Johnny Chen's avatar Johnny Chen
Browse files

Add more robustness - use PyString_CheckExact(pvalue) to check whether pvalue...

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.

llvm-svn: 146606
parent a8aa30b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment