X-Git-Url: https://git.korewanetadesu.com/?p=python-collate.git;a=blobdiff_plain;f=collate%2F__init__.py;h=ea1516a7cbd2cd83057034d54fcb58e260534397;hp=52d9e03de1b7a78cbfb4ae772a965a282e77ba00;hb=HEAD;hpb=7644110ce07ec8a78003ee7db9dcdfe5cbca3854 diff --git a/collate/__init__.py b/collate/__init__.py index 52d9e03..ea1516a 100644 --- a/collate/__init__.py +++ b/collate/__init__.py @@ -11,6 +11,12 @@ If available, this module uses the ICU localization library. Otherwise, it uses the system's locale database (and produces significantly worse results). +This module tries very hard not to fail loudly. It tends to ignore +most Unicode recoding errors, and will eventually fall back to the C +locale or raw codepoint-based collation. If you would like loud +failure, you can use the collate.strings module and the individual +Collators directly. + Trivial Use: ------------ strings = read_strings(...) @@ -46,7 +52,7 @@ try: except ImportError: pass -VERSION = (0, 1) +VERSION = (0, 2) VERSION_STRING = ".".join(map(str, VERSION)) collator = None