[Checkins] [zopefoundation/Zope] caa9c1: Explicitly make all classes new-style.

GitHub noreply at github.com
Fri Sep 15 23:42:27 CEST 2017


  Branch: refs/heads/new-style-classes
  Home:   https://github.com/zopefoundation/Zope
  Commit: caa9c1ae6f1ae1e35d3cda0688167e4de7951bfb
      https://github.com/zopefoundation/Zope/commit/caa9c1ae6f1ae1e35d3cda0688167e4de7951bfb
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M docs/zdgbook/examples/PollImplementation.py
    M src/App/ProductContext.py
    M src/App/ZApplication.py
    M src/App/config.py
    M src/App/tests/test_ApplicationManager.py
    M src/App/tests/test_class_init.py
    M src/OFS/Application.py
    M src/OFS/ObjectManager.py
    M src/OFS/Traversable.py
    M src/OFS/misc_.py
    M src/OFS/tests/testApplication.py
    M src/OFS/tests/testCopySupport.py
    M src/OFS/tests/testCopySupportEvents.py
    M src/OFS/tests/testCopySupportHooks.py
    M src/OFS/tests/testTraverse.py
    M src/OFS/tests/test_DTMLDocument.py
    M src/OFS/tests/test_DTMLMethod.py
    M src/OFS/tests/test_metaconfigure.py
    M src/Products/Five/browser/adding.py
    M src/Products/Five/browser/tests/pages.py
    M src/Products/Five/browser/tests/test_decode.py
    M src/Products/Five/browser/tests/test_metaconfigure.py
    M src/Products/Five/browser/tests/test_pages.py
    M src/Products/Five/viewlet/tests.py
    M src/Products/PageTemplates/tests/testExpressions.py
    M src/Products/PageTemplates/tests/testZopePageTemplate.py
    M src/Shared/DC/Scripts/Bindings.py
    M src/Testing/ZopeTestCase/layer.py
    M src/Testing/ZopeTestCase/sandbox.py
    M src/Testing/ZopeTestCase/testBaseTestCase.py
    M src/Testing/ZopeTestCase/testPlaceless.py
    M src/Testing/ZopeTestCase/warnhook.py
    M src/ZPublisher/BeforeTraverse.py
    M src/ZPublisher/Converters.py
    M src/ZPublisher/tests/testHTTPRequest.py
    M src/ZPublisher/tests/testHTTPResponse.py
    M src/ZPublisher/tests/test_Converters.py
    M src/ZPublisher/tests/test_WSGIPublisher.py
    M src/ZPublisher/tests/test_mapply.py
    M src/ZTUtils/Tree.py
    M src/ZTUtils/Zope.py
    M src/ZTUtils/tests/testTree.py
    M src/Zope2/App/tests/test_safe_formatter.py
    M src/Zope2/Startup/datatypes.py

  Log Message:
  -----------
  Explicitly make all classes new-style.

Done with the help of:
sed -E -i '' 's/class ([[:alnum:]_]*):/class \1(object):/g' `find . -name '*.py'`




More information about the checkins mailing list