[Checkins] [zopefoundation/zope.configuration] 1e217c: Make GlobalObject only allow dotted names.

GitHub noreply at github.com
Tue Sep 25 16:52:25 CEST 2018


  Branch: refs/heads/issue6
  Home:   https://github.com/zopefoundation/zope.configuration
  Commit: 1e217c84f6dc1eec4e0e40652a7802b5308c2795
      https://github.com/zopefoundation/zope.configuration/commit/1e217c84f6dc1eec4e0e40652a7802b5308c2795
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-09-25 (Tue, 25 Sep 2018)

  Changed paths:
    M CHANGES.rst
    M src/zope/configuration/fields.py
    M src/zope/configuration/tests/test_fields.py

  Log Message:
  -----------
  Make GlobalObject only allow dotted names.

Fixes #6

Also make all fields provide the ``value`` and ``field`` when they
raise an exception.


  Commit: 9a97e817a6298405f773a17c515c1dd1145f5771
      https://github.com/zopefoundation/zope.configuration/commit/9a97e817a6298405f773a17c515c1dd1145f5771
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-09-25 (Tue, 25 Sep 2018)

  Changed paths:
    M CHANGES.rst
    M docs/api/fields.rst
    M setup.py
    M src/zope/configuration/fields.py
    M src/zope/configuration/tests/test_fields.py

  Log Message:
  -----------
  Use the newest release of zope.schema for DottedName.

Also PythonIdentifier, which fixes #28.


  Commit: bd9682f9b0cc38ffa058b88f30e70073c6489c2f
      https://github.com/zopefoundation/zope.configuration/commit/bd9682f9b0cc38ffa058b88f30e70073c6489c2f
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-09-25 (Tue, 25 Sep 2018)

  Changed paths:
    M docs/api/fields.rst
    M src/zope/configuration/fields.py

  Log Message:
  -----------
  Do not allow empty identifiers in PythonIdentifier.

This restores the previous behaviour of validate(); fromUnicode() previously did no validation at all.


Compare: https://github.com/zopefoundation/zope.configuration/compare/d315d8957ff7...bd9682f9b0cc
      **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