A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-August/112928.html below:

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

[Python-Dev] cpython (3.2): NUL -> NULL [Python-Dev] cpython (3.2): NUL -> NULLStefan Krah stefan at bytereef.org
Thu Aug 18 20:51:21 CEST 2011
Antoine Pitrou <solipsis at pitrou.net> 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).

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

 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4