[Python-Dev] [Python-checkins] cpython (3.2): Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character

Tres Seaver tseaver at palladion.com
Tue Sep 6 17:11:51 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/06/2011 04:04 AM, Victor Stinner wrote:
> Le 06/09/2011 02:25, Nick Coghlan a écrit :
>> On Tue, Sep 6, 2011 at 10:01 AM, victor.stinner 
>> <python-checkins at python.org>  wrote:
>>> Fix also spelling of the null character.
>> 
>> While these cases are legitimately changed to 'null' (since
>> they're lowercase descriptions of the character), I figure it's
>> worth mentioning again that the ASCII name for '\0' actually *is*
>> NUL (i.e. only one 'L'). Strange, but true [1].
>> 
>> Cheers, Nick.
>> 
>> [1] https://secure.wikimedia.org/wikipedia/en/wiki/ASCII
> 
> "NUL" is an abbreviation used in tables when you don't have enough
> space to write the full name: "null character".
> 
> Where do you want to mention this abbreviation?

FWIW, the RFC 20 (the ASCII spec) really really defines 'NUL'  as the
*name* of the \0 character, not just an "abbreviation used in tables":

 http://tools.ietf.org/html/rfc20#section-5.2



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5mODcACgkQ+gerLs4ltQ7VwACgicaURzX4wAWOi+sRYGBwF5/3
8okAniSkHIlBv/VoibW6klR3WgD8T3ph
=LlKo
-----END PGP SIGNATURE-----



More information about the Python-Dev mailing list