[Checkins] [zopefoundation/ZConfig] f15662: Simplify maxOccurs handling.

GitHub noreply at github.com
Thu Jun 22 21:12:34 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/ZConfig
  Commit: f15662d3f98b9e78ed7e38a18799776d25041850
      https://github.com/zopefoundation/ZConfig/commit/f15662d3f98b9e78ed7e38a18799776d25041850
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-06-22 (Thu, 22 Jun 2017)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M ZConfig/info.py
    M ZConfig/schema.py
    M ZConfig/tests/test_info.py
    M tox.ini

  Log Message:
  -----------
  Simplify maxOccurs handling.

Fixes #15.


  Commit: 097feb7ab227a3965fa173d1d7505a7887811542
      https://github.com/zopefoundation/ZConfig/commit/097feb7ab227a3965fa173d1d7505a7887811542
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-06-22 (Thu, 22 Jun 2017)

  Changed paths:
    M CHANGES.rst
    M ZConfig/cfgparser.py
    M ZConfig/cmdline.py
    M ZConfig/datatypes.py
    M ZConfig/info.py
    M ZConfig/loader.py
    M ZConfig/matcher.py
    M ZConfig/schema.py
    M ZConfig/schemaless.py
    M ZConfig/tests/test_config.py

  Log Message:
  -----------
  Replace almost all names that shadowed builtins

Fixes #17

There are a few that are still left because they were used as keyword
arguments with defaults or I couldn't think of a better name.

I also fixed a few other pylint errors/warnings that were nearby the
names.

Current list:

************* Module ZConfig.cfgparser
W:103, 8: Redefining built-in 'type' (redefined-builtin)
************* Module ZConfig.datatypes
W: 42, 4: Redefining built-in 'reduce' (redefined-builtin)
W: 80,35: Redefining built-in 'min' (redefined-builtin)
W: 80,45: Redefining built-in 'max' (redefined-builtin)
************* Module ZConfig.loader
W: 53,19: Redefining built-in 'file' (redefined-builtin)
W: 97,27: Redefining built-in 'file' (redefined-builtin)
W:140,29: Redefining built-in 'file' (redefined-builtin)
W:162,23: Redefining built-in 'file' (redefined-builtin)
W:210,12: Redefining built-in 'file' (redefined-builtin)
W:513,23: Redefining built-in 'file' (redefined-builtin)
************* Module ZConfig.schemaless
W: 23,19: Redefining built-in 'file' (redefined-builtin)
W: 31,23: Redefining built-in 'file' (redefined-builtin)
W: 39,23: Redefining built-in 'type' (redefined-builtin)


  Commit: 648fc674631ab28c7268aba114804020f8d7ebec
      https://github.com/zopefoundation/ZConfig/commit/648fc674631ab28c7268aba114804020f8d7ebec
  Author: Fred Drake <fred at fdrake.net>
  Date:   2017-06-22 (Thu, 22 Jun 2017)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M ZConfig/cfgparser.py
    M ZConfig/cmdline.py
    M ZConfig/datatypes.py
    M ZConfig/info.py
    M ZConfig/loader.py
    M ZConfig/matcher.py
    M ZConfig/schema.py
    M ZConfig/schemaless.py
    M ZConfig/tests/test_config.py
    M ZConfig/tests/test_info.py
    M tox.ini

  Log Message:
  -----------
  Merge pull request #31 from zopefoundation/issue17

Replace almost all names that shadowed builtins


Compare: https://github.com/zopefoundation/ZConfig/compare/7de497590430...648fc674631a


More information about the checkins mailing list