<br><br>I've proposed a patch. Hope it works correctly, especially for PyString_Check. I don't know it should be Bytes or Unicode