"Extending and Embedding the Python Interpreter" ยง2.1.2, the noddy3 extension module example, uses "S" as format character for string arguments in its call to PyArg_ParseTupleAndKeywords.

This causes Noddy to only accept bytes as arguments, instead of strings (format "U").

I suspect this is a leftover from Python 2.x, where strings were bytes, and that this is a bug?


Cheers,

- Alf

--
blog at <url: http://alfps.wordpress.com>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to