[docs] [issue23181] Unicode "code point" should be two words in documentation

Serhiy Storchaka report at bugs.python.org
Wed Jan 14 13:20:22 CET 2015


Serhiy Storchaka added the comment:

"codepoint" is still used in error messages, docstrings and comments.

Doc/library/json.rst:517::class:`str`) codepoints for such sequences.
Lib/email/message.py:276:                    # containing only ASCII codepoints in the unicode input).
Lib/html/entities.py:6:# maps the HTML entity name to the Unicode codepoint
Lib/html/entities.py:2498:# maps the Unicode codepoint to the HTML entity name
Lib/codecs.py:127:         'surrogateescape' - replace with private codepoints U+DCnn.
Lib/test/test_multibytecodec.py:83:        # jisx0213 encoder is stateful for a few codepoints. eg)
Lib/test/test_html.py:51:        # check invalid codepoints
Lib/test/test_html.py:54:        # check more invalid codepoints
Lib/test/multibytecodec_support.py:24:    unmappedunicode = '\udeee' # a unicode codepoint that is not mapped.
Lib/test/test_unicode.py:1473:        # start bytes of a 2-byte sequence equivalent to codepoints < 0x7F
Lib/test/test_unicode.py:1475:        # start bytes of a 4-byte sequence equivalent to codepoints > 0x10FFFF
Lib/test/test_stringprep.py:2:# Since we don't have them, this test checks only a few codepoints.
Tools/unicode/gencodec.py:37:# Placeholder for a missing codepoint
Modules/cjkcodecs/_codecs_hk.c:174:        NEXT_IN(2); /* all decoded codepoints are pairs, above. */
Modules/cjkcodecs/cjkcodecs.h:15:/* a unicode "undefined" codepoint */
Modules/cjkcodecs/cjkcodecs.h:18:/* internal-use DBCS codepoints which aren't used by any charsets */
Modules/cjkcodecs/_codecs_cn.c:18:/* GBK and GB2312 map differently in few codepoints that are listed below:
Modules/cjkcodecs/_codecs_kr.c:72:            /* All codepoints in CP949 extension are in unicode
Modules/unicodedata.c:979:/* macros used to determine if the given codepoint is in the PUA range that
Modules/unicodedata.c:989:    /* Find the name associated with the given codepoint.
Modules/unicodedata.c:1000:    /* XXX should we just skip all the codepoints in the PUAs here? */
Modules/unicodedata.c:1128:    /* if the codepoint is in the PUA range that we use for aliases,
Modules/unicodedata.c:1129:     * convert it to obtain the right codepoint */
Modules/unicodedata.c:1141:    /* Return the codepoint associated with the given name.
Modules/unicodedata.c:1143:     * 3.2.0)).  If with_named_seq is 1, returns the PUA codepoint that we are
Objects/unicodeobject.c:5016:            errmsg = "codepoint in surrogate code point range(0xd800, 0xe000)";
Objects/unicodeobject.c:5035:            errmsg = "codepoint not in range(0x110000)";
Python/sysmodule.c:1382:maxunicode -- the value of the largest Unicode codepoint\n\

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23181>
_______________________________________


More information about the docs mailing list