[Checkins] [zopefoundation/zope.schema] fd9514: Add fields and interfaces matching the numeric tow...

GitHub noreply at github.com
Thu Aug 30 18:18:33 CEST 2018


  Branch: refs/heads/issue49
  Home:   https://github.com/zopefoundation/zope.schema
  Commit: fd9514394e240d53c65ef3e674578e9e55faeaeb
      https://github.com/zopefoundation/zope.schema/commit/fd9514394e240d53c65ef3e674578e9e55faeaeb
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-08-30 (Thu, 30 Aug 2018)

  Changed paths:
    M CHANGES.rst
    M docs/api.rst
    M src/zope/schema/__init__.py
    M src/zope/schema/_bootstrapfields.py
    M src/zope/schema/_field.py
    M src/zope/schema/interfaces.py
    M src/zope/schema/tests/test__bootstrapfields.py
    M src/zope/schema/tests/test__field.py

  Log Message:
  -----------
  Add fields and interfaces matching the numeric tower.

In descending order of generality these are ``Number``, ``Complex``,
``Real``, ``Rational`` and ``Integral``. The ``Int`` class extends
``Integral``, the ``Float`` class extends ``Real``, and the
``Decimal`` class extends ``Number``.

Generalize the parsing of numbers in the Number class.

Add tests and document them.

Run the field and bootstrap field doctests as part of unittesting, not
just under tox with sphinx, and make them run on both Python 2 and 3.

Fixes #49



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list