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

GitHub noreply at github.com
Fri Sep 15 23:40:30 CEST 2017


  Branch: refs/heads/new-style-classes
  Home:   https://github.com/zopefoundation/Zope
  Commit: a3ce832a6609a419a42dd2e51f3970c6f3c6a97a
      https://github.com/zopefoundation/Zope/commit/a3ce832a6609a419a42dd2e51f3970c6f3c6a97a
  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/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