[Checkins] [zopefoundation/zope.app.i18n] 78f205: Fix DeprecationWarning about IRegistered/IUnregist...

Marius Gedminas noreply at github.com
Wed Jul 10 13:36:51 CEST 2019


  Branch: refs/heads/fix-deprecation
  Home:   https://github.com/zopefoundation/zope.app.i18n
  Commit: 78f2050ca655175bf5f885fbd9242e82cc95cca5
      https://github.com/zopefoundation/zope.app.i18n/commit/78f2050ca655175bf5f885fbd9242e82cc95cca5
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-07-10 (Wed, 10 Jul 2019)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/zope/app/i18n/configure.zcml

  Log Message:
  -----------
  Fix DeprecationWarning about IRegistered/IUnregistered

This would show up as

    /path/to/site-packages/zope/configuration/config.py:240: DeprecationWarning: IRegistered is deprecated. Import from zope.interface.interfaces
      obj = getattr(mod, oname)
    /path/to/site-packages/zope/configuration/config.py:240: DeprecationWarning: IUnregistered is deprecated. Import from zope.interface.interfaces
      obj = getattr(mod, oname)

making it a bit difficult to discover where the source of the warnings
is.




More information about the checkins mailing list