A
Alf P. Steinbach /Usenet
"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
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