]> granicus.if.org Git - python/commit
bpo-37760: Convert from length-18 lists to a dataclass, in makeunicodedata. (GH-15265)
authorGreg Price <gnprice@gmail.com>
Thu, 12 Sep 2019 09:23:43 +0000 (02:23 -0700)
committerBenjamin Peterson <benjamin@python.org>
Thu, 12 Sep 2019 09:23:43 +0000 (10:23 +0100)
commita65678c5c90002c5e40fa82746de07e6217df625
tree18ba0406e9b31b21cc9469e159ce526c4476d18c
parent5e9caeec76119a0d61c25f1466c27b7dbd5115bd
bpo-37760: Convert from length-18 lists to a dataclass, in makeunicodedata. (GH-15265)

Now the fields have names!  Much easier to keep straight as a
reader than the elements of an 18-tuple.

Runs about 10-15% slower: from 10.8s to 12.3s, on my laptop.
Fortunately that's perfectly fine for this maintenance script.
Misc/NEWS.d/next/Build/2019-08-24-17-39-09.bpo-37760.f3jXuH.rst [new file with mode: 0644]
Tools/unicode/makeunicodedata.py