Antoine Pitrou <solip...@pitrou.net> wrote: > On Thu, 18 Aug 2011 17:49:28 +0200 > benjamin.peterson <python-check...@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).
Yes, that's the traditional name. I was surprised that the C99 standard uses "null character" in almost all cases. Example: "The construction '\0' is commonly used to represent the null character." So I think it should be either NUL or "null character" with the lower case spelling. Stefan Krah _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com