Mercurial > babel > mirror
diff ChangeLog @ 591:d1618dfaf114 trunk
change Locale comparison: Locales are now considered equal if all of their attributes (language, territory, script, variant) are equal. Before __eq__ used the simple string representation which hides errors in Locale instantiation (see #279 and #311 for more information).
author | fschwarz |
---|---|
date | Thu, 09 Aug 2012 07:36:36 +0000 |
parents | c8bef607128c |
children | 99983baf1067 |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -47,6 +47,8 @@ * handle irregular multi-line msgstr (no "" as first line) gracefully (#171) * parse_decimal() now returns Decimals not floats, API change (#178) * no warnings when running setup.py without installed setuptools (#262) + * modified Locale.__eq__ method so Locales are only equal if all of their + attributes (language, territory, script, variant) are equal Version 0.9.6