FAQ
"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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedJul 19, '10 at 12:41p
activeJul 19, '10 at 12:41p
posts1
users1
websitepython.org

1 user in discussion

Alf P. Steinbach /Usenet: 1 post

People

Translate

site design / logo © 2022 Grokbase