]> granicus.if.org Git - python/commit
Fiddled w/ /F's cool new splitbins function: documented it, generalized it
authorTim Peters <tim.peters@gmail.com>
Mon, 25 Sep 2000 07:13:41 +0000 (07:13 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 25 Sep 2000 07:13:41 +0000 (07:13 +0000)
commit2101348830ff0d65cebd4caf886011f45bcc7618
tree5b9d52a52269ed9f16c2f0c738a05ef76e2e19ba
parent68ded6e6f148ef0dc95418be7a9bb61385942362
Fiddled w/ /F's cool new splitbins function:  documented it, generalized it
a bit, sped it a lot primarily by removing the unused assumption that None was
a legit bin entry (the function doesn't really need to assume that there's
anything special about 0), added an optional "trace" argument, and in __debug__
mode added exhaustive verification that the decomposition is both correct and
doesn't overstep any array bounds (which wasn't obvious to me from staring at the
generated C code -- now I feel safe!).  Did not commit a new unicodedata_db.h, as
the one produced by this version is identical to the one already checked in.
Tools/unicode/makeunicodedata.py