[Checkins] [zopefoundation/zope.schema] b2f99e: Give ValidationErrors more context information.
GitHub
noreply at github.com
Fri Aug 24 20:59:08 CEST 2018
Branch: refs/heads/master
Home: https://github.com/zopefoundation/zope.schema
Commit: b2f99e2a0e46cdfc410a22b4bb78af0ab7d9a1ef
https://github.com/zopefoundation/zope.schema/commit/b2f99e2a0e46cdfc410a22b4bb78af0ab7d9a1ef
Author: Jason Madden <jamadden at gmail.com>
Date: 2018-08-20 (Mon, 20 Aug 2018)
Changed paths:
M CHANGES.rst
M src/zope/schema/_bootstrapfields.py
M src/zope/schema/_bootstrapinterfaces.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:
-----------
Give ValidationErrors more context information.
All of them have a ``field`` and ``value`` now.
For Object fields, introduce a new exception (extending the old
exception) to allow distinguishing which fields threw which error and
whic errors are general validation errors.
Commit: 03d02cfb44e9d5337313d0f27a8ff122b84e7093
https://github.com/zopefoundation/zope.schema/commit/03d02cfb44e9d5337313d0f27a8ff122b84e7093
Author: Jason Madden <jamadden at gmail.com>
Date: 2018-08-20 (Mon, 20 Aug 2018)
Changed paths:
M src/zope/schema/_field.py
M src/zope/schema/tests/test__field.py
Log Message:
-----------
SchemaNotProvided also needs to provide the field and value.
Commit: 845376502821b0ad4a08f5a3691b06cd49f1c9a3
https://github.com/zopefoundation/zope.schema/commit/845376502821b0ad4a08f5a3691b06cd49f1c9a3
Author: Jason Madden <jamadden at gmail.com>
Date: 2018-08-24 (Fri, 24 Aug 2018)
Changed paths:
M src/zope/schema/_field.py
M src/zope/schema/_schema.py
M src/zope/schema/tests/test__field.py
M src/zope/schema/tests/test_schema.py
Log Message:
-----------
SchemaNotFullyImplemented has correct field; Decimal raises a better exception for invalid literals.
Commit: bab4c3104b82d4f4172180390bde5aec10a53e4e
https://github.com/zopefoundation/zope.schema/commit/bab4c3104b82d4f4172180390bde5aec10a53e4e
Author: Jason Madden <jamadden at gmail.com>
Date: 2018-08-24 (Fri, 24 Aug 2018)
Changed paths:
M CHANGES.rst
M docs/fields.rst
M src/zope/schema/_bootstrapfields.py
M src/zope/schema/_field.py
M tox.ini
Log Message:
-----------
Raise proper validation errors from Int and Float as well as Decimal.
Fix the doctests that pointed out this should be done.
Commit: f169f305112c3830f1ad84af72449aea64a2d52e
https://github.com/zopefoundation/zope.schema/commit/f169f305112c3830f1ad84af72449aea64a2d52e
Author: Jason Madden <jason+github at nextthought.com>
Date: 2018-08-24 (Fri, 24 Aug 2018)
Changed paths:
M CHANGES.rst
M docs/fields.rst
M src/zope/schema/_bootstrapfields.py
M src/zope/schema/_bootstrapinterfaces.py
M src/zope/schema/_field.py
M src/zope/schema/_schema.py
M src/zope/schema/interfaces.py
M src/zope/schema/tests/test__bootstrapfields.py
M src/zope/schema/tests/test__field.py
M src/zope/schema/tests/test_schema.py
M tox.ini
Log Message:
-----------
Merge pull request #46 from zopefoundation/issue16
Give ValidationErrors more context information.
Compare: https://github.com/zopefoundation/zope.schema/compare/1696ffef6aa4...f169f305112c
**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