[Checkins] [zopefoundation/zope.component] b7235d: Remove unused, but not BWC exported, imports from ...
GitHub
noreply at github.com
Wed Nov 8 18:05:57 CET 2017
Branch: refs/heads/master
Home: https://github.com/zopefoundation/zope.component
Commit: b7235d10c9f73fe4c86961f8f249ac677491d982
https://github.com/zopefoundation/zope.component/commit/b7235d10c9f73fe4c86961f8f249ac677491d982
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-11-08 (Wed, 08 Nov 2017)
Changed paths:
M src/zope/component/_api.py
M src/zope/component/interfaces.py
M src/zope/component/tests/test_globalregistry.py
Log Message:
-----------
Remove unused, but not BWC exported, imports from _api.
Commit: 741972ee209a9a6dad7696a1ac8e02c0d2e7bcdc
https://github.com/zopefoundation/zope.component/commit/741972ee209a9a6dad7696a1ac8e02c0d2e7bcdc
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-11-08 (Wed, 08 Nov 2017)
Changed paths:
M CHANGES.rst
M docs/api/sitemanager.rst
M docs/api/utility.rst
M docs/event.rst
M docs/socketexample.rst
M setup.py
M src/zope/component/__init__.py
M src/zope/component/_api.py
M src/zope/component/_compat.py
M src/zope/component/_declaration.py
M src/zope/component/event.py
M src/zope/component/globalregistry.py
M src/zope/component/hookable.py
M src/zope/component/hooks.py
M src/zope/component/interface.py
M src/zope/component/interfaces.py
M src/zope/component/registry.py
M src/zope/component/tests/examples.py
M src/zope/component/tests/test__api.py
M src/zope/component/tests/test_event.py
M src/zope/component/tests/test_globalregistry.py
M src/zope/component/tests/test_hooks.py
M src/zope/component/tests/test_interface.py
A src/zope/component/tests/test_interfaces.py
M src/zope/component/tests/test_registry.py
M src/zope/component/tests/test_zcml.py
M src/zope/component/zcml.py
Log Message:
-----------
Produce deprecation warnings for deprecated names in interfaces.py and registry.py
And also in hookable.py
Do this using zope.deferredimport and zope.deprecation, two new
dependencies. This introduces a transitive dependency on zope.proxy,
but that was already part of the 'security' extra. zope.proxy runs
on pypy but it doesn't yet support making the C extension optional (https://github.com/zopefoundation/zope.proxy/issues/26)
Also drop the use of _compat._BLANK everywhere and just use the literal.
Commit: cfbdfe6fecbaa6582abfb37db2f2e88bedcf05e6
https://github.com/zopefoundation/zope.component/commit/cfbdfe6fecbaa6582abfb37db2f2e88bedcf05e6
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-11-08 (Wed, 08 Nov 2017)
Changed paths:
M src/zope/component/_api.py
Log Message:
-----------
Tweak import groups in _api.py
Commit: 843d511a8a06f832cb8ca214cb1d909235533ade
https://github.com/zopefoundation/zope.component/commit/843d511a8a06f832cb8ca214cb1d909235533ade
Author: Jason Madden <jason+github at nextthought.com>
Date: 2017-11-08 (Wed, 08 Nov 2017)
Changed paths:
M CHANGES.rst
M docs/api/sitemanager.rst
M docs/api/utility.rst
M docs/event.rst
M docs/socketexample.rst
M setup.py
M src/zope/component/__init__.py
M src/zope/component/_api.py
M src/zope/component/_compat.py
M src/zope/component/_declaration.py
M src/zope/component/event.py
M src/zope/component/globalregistry.py
M src/zope/component/hookable.py
M src/zope/component/hooks.py
M src/zope/component/interface.py
M src/zope/component/interfaces.py
M src/zope/component/registry.py
M src/zope/component/tests/examples.py
M src/zope/component/tests/test__api.py
M src/zope/component/tests/test_event.py
M src/zope/component/tests/test_globalregistry.py
M src/zope/component/tests/test_hooks.py
M src/zope/component/tests/test_interface.py
A src/zope/component/tests/test_interfaces.py
M src/zope/component/tests/test_registry.py
M src/zope/component/tests/test_zcml.py
M src/zope/component/zcml.py
Log Message:
-----------
Merge pull request #37 from zopefoundation/remove-unused-imports
Produce deprecation warnings for deprecated names, remove unused imports
Compare: https://github.com/zopefoundation/zope.component/compare/1268183ae480...843d511a8a06
More information about the checkins
mailing list