Hello,
extending Python in C ist just the coolest thing since sliced bread (and
I'm particularly happy because I really had started to miss C when I did
more and more things in Python).
I've got one question though. Tha C/API documentation is not quite clear
(to me, anyway) on what happens
This works, but I'm not sure if PyString...() really makes a new copy of
the data (ellowing me to use free())
See the documentation:
http://docs.python.org/c-api/string.html#PyString_FromString
# Return a new string object with a *copy* of the string v as value
Another example (all on the C