about summary refs log tree commit diff
path: root/src/libstd_unicode/unicode.py
AgeCommit message (Collapse)AuthorLines
2018-04-12Move contents of libstd_unicode into libcoreSimon Sapin-504/+0
2018-01-02Move static code outside of unciode.py.Clar Charr-116/+9
2017-11-16fix some python3 incompatibilitiesCollin Anderson-20/+17
2017-07-21[libstd_unicode] Create UnicodeVersion typeBehnam Esfahbod-3/+26
Create named struct `UnicodeVersion` to use instead of tuple type for `UNICODE_VERSION` value. This allows user to access the fields with meaningful field names: `major`, `minor`, and `micro`. Per request, an empty private field is added to the struct, so it can be extended in the future without API breakage.
2017-07-21[libstd_unicode] Change UNICODE_VERSION to use u32Behnam Esfahbod-1/+1
Use `u32` for version components, as `u64` is just an overkill, and `u32` is the default type for integers and the default type used for regular internal numbers. There's no expectation for Unicode Versions to even reach one thousand in the next hundered years. This is different from *package versions*, which may become something auto-generated and exceed human-friendly range of integer values.
2017-05-04Move unicode Python script into libstd_unicode crate.Corey Farwell-0/+591
The only place this Python script is used is inside the libstd_unicode crate, so lets move it there.