Zope.i18n

Latest version: v5.2

Safety actively analyzes 688476 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

4.3.1

==================

- Make ``PlacelessSetup`` not extend ``zope.testing.cleanup.CleanUp``.
Extending ``CleanUp`` was introduced in 4.3.0 but turned out to have
unexpected consequences. See `issue 30
<https://github.com/zopefoundation/zope.i18n/issues/30>`_.

4.3.0

==================

- Ensure that all files are properly closed when compiling .mo files,
such as when the ``registerTranslations`` ZCML directive is used.

- Remove the private ``_compat`` module and its utility function ``_u``
in favor of Unicode literals.

- ``TranslationDomain`` no longer extends ``SimpleTranslationDomain``.
It overrode every method and didn't properly initialize the super
class. ``TranslationDomain`` continues to implement ``ITranslationDomain``.

- ``TranslationDomain`` and ``GettextMessageCatalog`` now ensure that
their ``domain`` and ``language`` attributes are text in order to
match their respective interfaces. Byte strings (such as native
string literals on Python 2) are decoded using UTF-8.

- Fix ``LocaleCalendar.getFirstWeekDayName``. Previously it raised a
KeyError when the ``week`` mapping contained an integer for
``firstDay`` as documented.

- Reach 100% test coverage and maintain in through tox.ini and
coveralls.io.

- Override ``values`` in ``InheritingDictionary``. Previously it
implemented a separate ``value`` method by mistake.

- Fix parsing times with a timezone. Previously it could raise a
``TypeError``.

4.2.0

==================

- Better error message on PO-File Syntax Errors. [SyZn]

- Add support for Python 3.5 and 3.6.

- Drop support for Python 2.6, 3.2 and 3.3.

- Support for formatting really small numbers, e.g. 1e-9. These numbers needs
special treatment, because standard str(x) collapses them to scientific
representation.

- Support for specifying rounding in NumberFormatter. This is required in some
cases, e.g. when you format a Decimal('0.9999') that sould not be rounded.
Currently, formatting Decimal('0.99999') will raise a TypeError if rounding
is not set to False

4.1.0

==================

- ``interpolate()`` now works recursively, if the mapping has a value which is
a ``zope.i18nmessageid.Message`` itself.

4.0.1

==================

- Add support for Python 3.2 and PyPy3.

4.0.0

==================

- Add support for testing with Travis.

- Add explicit support for Python 3.4 and PyPy.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.