comparison 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
comparison
equal deleted inserted replaced
590:6f86d60dab56 591:d1618dfaf114
45 * fix format_decimal() with small Decimal values (#214, patch from George Lund) 45 * fix format_decimal() with small Decimal values (#214, patch from George Lund)
46 * fix handling of messages containing '\\n' (#198) 46 * fix handling of messages containing '\\n' (#198)
47 * handle irregular multi-line msgstr (no "" as first line) gracefully (#171) 47 * handle irregular multi-line msgstr (no "" as first line) gracefully (#171)
48 * parse_decimal() now returns Decimals not floats, API change (#178) 48 * parse_decimal() now returns Decimals not floats, API change (#178)
49 * no warnings when running setup.py without installed setuptools (#262) 49 * no warnings when running setup.py without installed setuptools (#262)
50 * modified Locale.__eq__ method so Locales are only equal if all of their
51 attributes (language, territory, script, variant) are equal
50 52
51 53
52 Version 0.9.6 54 Version 0.9.6
53 http://svn.edgewall.org/repos/babel/tags/0.9.6/ 55 http://svn.edgewall.org/repos/babel/tags/0.9.6/
54 (Mar 17 2011, from branches/stable/0.9.x) 56 (Mar 17 2011, from branches/stable/0.9.x)
Copyright (C) 2012-2017 Edgewall Software