]> granicus.if.org Git - python/commit
bpo-37758: Cut always-constant conditionals on sys.maxunicode. (GH-15302)
authorGreg Price <gnprice@gmail.com>
Mon, 9 Sep 2019 15:20:40 +0000 (08:20 -0700)
committerT. Wouters <thomas@python.org>
Mon, 9 Sep 2019 15:20:40 +0000 (08:20 -0700)
commit3cbc23aa229bc5ec04845053df78eae5f54e0497
tree05595485547709f8dffde81fc144f0119c687940
parent65366bc8bdc4716ebc361e622590b45a6e5aef07
bpo-37758: Cut always-constant conditionals on sys.maxunicode. (GH-15302)

Since PEP 393 in Python 3.3, this value is always 0x10ffff, the
maximum codepoint in Unicode; there's no longer such a thing as a
UCS-2 build of Python, which couldn't properly represent some
characters.

There are a couple of spots left where we still condition on the value
of this constant.  Take them out.
Lib/test/test_bigaddrspace.py
Tools/unicode/mkstringprep.py