[Checkins] [zopefoundation/ZConfig] 097feb: Replace almost all names that shadowed builtins

GitHub noreply at github.com
Thu Jun 22 20:23:50 CEST 2017


  Branch: refs/heads/issue17
  Home:   https://github.com/zopefoundation/ZConfig
  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)




More information about the checkins mailing list