[Zope-dev] __replaceable__ or whatever it is ;-)
Hi, I was wondering how the stuff for attributes that are replaceable in instance and singleton attributesis getting on. Itamar says the code is in the CVS for Zope, but neither of us can find any documentation. Could whoever did the coding please put something in the Interfaces Wiki or point us to where the official documentation lives? Also, when is it going to land in a erleased Zoep version? 2.3 I guess... cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] __replaceable__ or whatever it is ;-)
Chris Withers wrote: > I was wondering how the stuff for attributes that are replaceable in > instance and singleton attributesis getting on. > > Itamar says the code is in the CVS for Zope, but neither of us can find > any documentation. FYI I actually added the docs in two places, but they were promptly removed from the place they did not belong: the help system. Unfortunately the InterfacesWiki is currently the only good place. > Could whoever did the coding please put something in the Interfaces Wiki > or point us to where the official documentation lives? http://www.zope.org/Members/michel/Projects/Interfaces/ObjectManagerItem (See the bottom.) > Also, when is it going to land in a erleased Zoep version? 2.3 I > guess... That's the plan. Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] __replaceable__ or whatever it is ;-)
Shane Hathaway wrote: > > FYI I actually added the docs in two places, but they were promptly > removed from the place they did not belong: the help system. > Unfortunately the InterfacesWiki is currently the only good place. Guess we'll have to wait for 2.3 :-) > > Could whoever did the coding please put something in the Interfaces Wiki > > or point us to where the official documentation lives? > > http://www.zope.org/Members/michel/Projects/Interfaces/ObjectManagerItem > (See the bottom.) Thanks... I guess the behavior that was associated with ObjectManager.NOT_REPLACEABLE is obtained by just not havign a __replaceable__ attribute? ...or does ObjectManager.NOT_REPLACEABLE exist, just in an undocumented fashion ;-) > > Also, when is it going to land in a erleased Zoep version? 2.3 I > > guess... > > That's the plan. Bad question, I know, but any idea when that'll be? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] __replaceable__ or whatever it is ;-)
At 11:14 AM 11/15/00 +, Chris Withers wrote: > >Thanks... I guess the behavior that was associated with >ObjectManager.NOT_REPLACEABLE is obtained by just not havign a >__replaceable__ attribute? >..or does ObjectManager.NOT_REPLACEABLE exist, just in an undocumented >fashion ;-) > >> > Also, when is it going to land in a erleased Zoep version? 2.3 I >> > guess... >> >> That's the plan. > >Bad question, I know, but any idea when that'll be? > FYI, if you want to play with this before then, the current release of the PlugIns package has support for the proposed behavior in the PlugInContainer class, using a code snippet cribbed from Zope CVS. So you should be able to make PIC subclasses with overrideable methods. I put in that support because I wanted Specialists and such to be able to use overrideable methods. I haven't gotten around to actually putting any in, though. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )