[Python-Dev] cpython (3.2): NUL -> NULL

Eric V. Smith eric at trueblade.com
Thu Aug 18 20:25:36 CEST 2011


On 08/18/2011 02:19 PM, Antoine Pitrou wrote:
> On Thu, 18 Aug 2011 17:49:28 +0200
> benjamin.peterson <python-checkins at python.org> wrote:
>> -        PyErr_SetString(PyExc_TypeError, "embedded NUL character");
>> +        PyErr_SetString(PyExc_TypeError, "embedded NULL character");
> 
> Are you sure? IIRC, NUL is the little name of ASCII character 0
> (while NULL would be the NULL pointer).

That's my understanding, too.

Eric.


More information about the Python-Dev mailing list