[Checkins] [zopefoundation/zope.configuration] 05337a: Make GlobalObject only allow dotted names.

GitHub noreply at github.com
Mon Sep 24 23:20:42 CEST 2018


  Branch: refs/heads/issue6
  Home:   https://github.com/zopefoundation/zope.configuration
  Commit: 05337a5d86811a274cba2e922104f1040454bfaf
      https://github.com/zopefoundation/zope.configuration/commit/05337a5d86811a274cba2e922104f1040454bfaf
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-09-24 (Mon, 24 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: 36677d121c80e18383e339d132585f37f9af6a6e
      https://github.com/zopefoundation/zope.configuration/commit/36677d121c80e18383e339d132585f37f9af6a6e
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-09-24 (Mon, 24 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: d315d8957ff7a99d6092a33db455faad40420b8a
      https://github.com/zopefoundation/zope.configuration/commit/d315d8957ff7a99d6092a33db455faad40420b8a
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-09-24 (Mon, 24 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/2f389cdc6b0e...d315d8957ff7
      **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