On Jan 13, 2009, at 4:15 PM, Dan Korostelev wrote:
2009/1/14 Dan Korostelev <nadako@gmail.com>:
2009/1/13 Gary Poster <gary.poster@gmail.com>:
http://pypi.python.org/pypi/lazr.delegates
Provides an interesting Python delegation pattern. Uses zope.interface.
I took a quick view at that lazr.delegates package. The code there is so small, so I think it can be merged in zope.interface itself, because it can be quite useful together with zope.interface's adapter pattern.
What are you people think about including delegates code into zope.interface?
Ah, its GPL. I should have checked out the license before talking about merging. :)
LGPL, actually! An important distinction. If there were enough interest, I'd certainly be happy to propose it at Canonical and see if it could happen. I think there would be several advocates here. Gary