new string method in 2.5 (partition)

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Sep 22 03:53:53 EDT 2006


In message <mailman.354.1158791333.10491.python-list at python.org>, Gabriel
Genellina wrote:

> ... a python string has both a length *and* a null terminator (for
> ease of interfacing C routines ...

How does that work for strings with embedded nulls? Or are the C routines
simply fooled into seeing a truncated part of the string?



More information about the Python-list mailing list