forked from pool/python-zope.schema
59180c2a6c42c54195c8aa2cd05092d6d9ba273502ddbf326d29f7701025e786
- update to version 5.0.1
- Fix: add ``Text.unicode_normalization = 'NFC'`` as default, because some are
persisting schema fields. Setting that attribute only in ``__init__``
breaks loading old objects.
- Set ``IDecimal`` attributes ``min``, ``max`` and ``default`` as ``Decimal``
type instead of ``Number``.
See `issue 88 <https://github.com/zopefoundation/zope.schema/issues/88>`_.
- Enable unicode normalization for ``Text`` fields.
The default is NFC normalization. Valid forms are 'NFC', 'NFKC', 'NFD', and
'NFKD'. To disable normalization, set ``unicode_normalization`` to ``False``
or ``None`` when calling ``__init__`` of the ``Text`` field.
See `issue 86 <https://github.com/zopefoundation/zope.schema/issues/86>`_.
OBS-URL: https://build.opensuse.org/request/show/782878
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.schema?expand=0&rev=22
Description
No description provided
Languages
RPM Spec
100%