[Checkins] [zopefoundation/Zope] d2bbf3: Drop Python 2 support Part 1 (#699)

Michael Howitz noreply at github.com
Wed Sep 11 08:33:49 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: d2bbf339c9d505f495d3fccf7543d53242655744
      https://github.com/zopefoundation/Zope/commit/d2bbf339c9d505f495d3fccf7543d53242655744
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M docs/INSTALL.rst
    M docs/operation.rst
    M docs/zope4/news.rst
    M src/App/Management.py
    M src/OFS/CopySupport.py
    M src/OFS/DTMLDocument.py
    M src/OFS/DTMLMethod.py
    M src/OFS/Image.py
    M src/OFS/ObjectManager.py
    M src/OFS/PropertyManager.py
    M src/OFS/PropertySheets.py
    M src/OFS/SimpleItem.py
    M src/OFS/Uninstalled.py
    M src/OFS/role.py
    M src/OFS/tests/testFileAndImage.py
    M src/OFS/tests/testFindSupport.py
    M src/OFS/tests/testObjectManager.py
    M src/Products/Five/browser/adding.py
    M src/Products/Five/viewlet/viewlet.py
    M src/Products/PageTemplates/tests/test_persistenttemplate.py
    M src/Testing/ZopeTestCase/ZopeLite.py
    M src/Testing/ZopeTestCase/functional.py
    M src/Testing/ZopeTestCase/testZODBCompat.py
    M src/ZPublisher/BaseResponse.py
    M src/ZPublisher/Converters.py
    M src/ZPublisher/HTTPRequest.py
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/tests/testHTTPRequest.py
    M src/ZPublisher/tests/test_Converters.py
    M src/ZPublisher/tests/test_mapply.py
    M src/ZPublisher/tests/test_utils.py
    M src/ZTUtils/Zope.py
    M src/ZTUtils/tests/testZope.py
    M src/Zope2/App/tests/test_safe_formatter.py
    M src/Zope2/Startup/datatypes.py
    M src/Zope2/Startup/starter.py
    M src/Zope2/Startup/tests/test_serve.py
    M src/Zope2/Startup/tests/test_starter.py

  Log Message:
  -----------
  Drop Python 2 support Part 1 (#699)

* Grep for `2.7` and remove places for Python 2 support.

Additionally removed also a bit of Zope 2.7 support code.

* Drop usage of code referencing `PY2`.




More information about the checkins mailing list