-----BEGIN PGP SIGNED MESSAGE-----
Hello Zope Developers,
I've asked about this on the zope@ list, without getting any replies.
Talking about it in #zope, I decided that maybe I will have to ask here
from another point of view.
As I was testing moving a big, old application to Zope 2.13, I was
greeted with the following error:
(...) from Products.ZCatalog.CatalogPathAwareness import CatalogPathAware
ImportError: cannot import name CatalogPathAware
Looking at the code informs me that CatalogPathAwareness is
deprecated. I since noticed that apart from the depreciation, also the
"emtpy" class CatalogPathAware(CatalogAware) has been removed from
The depreciation message points to zope.lifecycleevent.
Looking at http://pypi.python.org/pypi/zope.lifecycleevent I see some
examples about calling those notify() events, but nothing that would
tell me how to replace CatalogPathAware with this stuff. Googling for
[CatalogPathAware zope.lifecycleevent] does not give me anything besides
some SVN commit messages.
So, anybody have some examples of doing this, please?
Specifically an example for replacing CatalogPathAware with
zope.lifecycleevent. Since this is what the depreciation message talks
about, it's been done many times over and should be well documented,
I also hope that developers are aware that this change involves changing
the base classes that classes in production systems out there are based
I assume this kind of thing has been discussed and the decision has been
taken on judging backwards compatibility vs. the benefits of doing this?
(Personally I don't know those benefits, but I'm open to learn. I'm also
open to help if there is any work involved, I'm planning to give back
more to the zope community in the near future.)
Thank you very much,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
-----END PGP SIGNATURE-----
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -