[Python-3000] Extension: mpf for GNU MP floating point

Adam Hupp adam at hupp.org
Thu Sep 20 13:50:08 CEST 2007


On 9/19/07, Rob Crowther <weilawei at gmail.com> wrote:
> If you try to set value to something weird, like a dictionary, it will
> segfault. PyString_Check wasn't working for me. It's in there, but defined
> out.

I think you'll need to use PyUnicode_Check for that.

-- 
Adam Hupp | http://hupp.org/adam/


More information about the Python-3000 mailing list