[Zope-dev] Zope Tests: 8 OK
Summary of messages to the zope-tests list. Period Mon Jan 12 12:00:00 2009 UTC to Tue Jan 13 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.7 : Linux From: Zope Tests Date: Mon Jan 12 20:52:37 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010831.html Subject: OK : Zope-2.9 Python-2.4.5 : Linux From: Zope Tests Date: Mon Jan 12 20:54:07 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010832.html Subject: OK : Zope-2.10 Python-2.4.5 : Linux From: Zope Tests Date: Mon Jan 12 20:55:38 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010833.html Subject: OK : Zope-2.11 Python-2.4.5 : Linux From: Zope Tests Date: Mon Jan 12 20:57:08 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010834.html Subject: OK : Zope-trunk Python-2.4.5 : Linux From: Zope Tests Date: Mon Jan 12 20:58:38 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010835.html Subject: OK : Zope-trunk Python-2.5.2 : Linux From: Zope Tests Date: Mon Jan 12 21:00:08 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010836.html Subject: OK : Zope[2.buildout]-trunk Python-2.4.5 : Linux From: Zope Tests Date: Mon Jan 12 21:01:38 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010837.html Subject: OK : Zope[2.buildout]-trunk Python-2.5.2 : Linux From: Zope Tests Date: Mon Jan 12 21:03:08 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010838.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Some tools from the Launchpad project
Hi all. As announced elsewhere (and described in https://dev.launchpad.net/OpenSourcing) , Canonical's Launchpad project is working towards open-sourcing the majority of the code base by this summer. Prior and subsequent to the grand open-sourcing date, the Launchpad developers are encouraged to abstract stand-alone code for distributions. Since Launchpad uses several Zope libraries, some of the stand-alone packages may be of special interest to the Zope community. Unsurprisingly (at least if you know Launchpad), the packages use bzr for revision control, and Launchpad for codehosting, bug tracking, and so on. Currently we are standardizing on zc.buildout-based releases for these packages. We have two at the moment: http://pypi.python.org/pypi/lazr.delegates Provides an interesting Python delegation pattern. Uses zope.interface. http://pypi.python.org/pypi/lazr.config Helps build a configuration system (of whatever, but used here for process configuration). I'm not the author, just a messenger and liaison (and the guy who made the distros, in this case). (I did add some cookie conveniences to testbrowser recenty though--check out zope.testbrowser 1.6a1 if you want a look. :-) I, or other folks, will hopefully get a chance to send out other announcements of this sort in the future! Gary ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some tools from the Launchpad project
On Tue, Jan 13, 2009 at 1:27 PM, Gary Poster gary.pos...@gmail.com wrote: I, or other folks, will hopefully get a chance to send out other announcements of this sort in the future! Very cool. -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some tools from the Launchpad project
Hey Gary, Very cool to be hearing from the Launchpad project! Am I correct in that lazr.delegates implements a form of the decorator pattern? If so it'd be good if the documentation mentioned this somewhere. I know that Launchpad's use of Zope 3 has been evolving in its own direction for a while, and it'd be interesting to learn more about how. I'd like Zope to be informed by Launchpad's experiences. Things I know from hearing a thing or two over the last years is that Launchpad uses a relational database as its backend, with at least Storm planned for this (whether the transition has been completed, I don't know). I also know that template designers have various convenience adapters available to them within ZPT. There must be much more, however. I'd also like to know which Zope 3 libraries Launchpad currently uses (and what versions), and whether any libraries have been replaced or forked, and so on. Regards, Martijn ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Next Step to Bug Resolution???
Tim Cook wrote: I DID submit a patch suggestion in the Launchpad bug report. I think you're talking about this: https://bugs.launchpad.net/zope3/+bug/301226 Sorry, but the patch doesn't make any sense. Your version of _validate_fields quietly skips validation entirely by default. Why would the function be called _validate_fields if it doesn't actually validate unless the caller passes some special parameter? The function needs to validate the fields regardless of the parameters. I would also like for you to explain just what it is about my attitude that you find so offensive/problematic? Please ignore comments like that. They are not worth dealing with. I traced down and described the problem to the function level. I suggested a fix and asked for experts to review and apply it. I do not have (and am not qualified to have) commit access to ZCA source. So again, referring to the subject line. What are the next steps? Here's a tip: for a programmer, good error messages are like gold. The right error message will save you countless hours (or months) of frustration. Therefore, making error messages readable is one of your top priorities. You have been presented with a very poor error message. Fixing that error message doesn't look very difficult on the surface, so your first priority should be to make that error message readable. Marius was on the right track: http://mail.zope.org/pipermail/zope3-users/2008-October/008218.html Look at the __repr__ method of the ValidationError class in the _bootstrapinterfaces.py module of the zope.schema package. This method was designed to generate short error messages, but in your case it appears to be truncating the error messages altogether. I would start by changing that particular __repr__() method to: def __repr__(self): return '%s(%s)' % (self.__class__.__name__, repr(self.args)) This version prefers verbosity. At a minimum, I hope this version of __repr__ will change the bizarre message zope.schema.interfaces.WrongContainedType: [, []] into something legible. Still, I don't know if my version of __repr__() is appropriate for everyone else, so I am not going to touch SVN yet. For now, this is just something that might help you find the real cause of the bug. Shane ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some tools from the Launchpad project
2009/1/13 Gary Poster gary.pos...@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? -- WBR, Dan Korostelev ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some tools from the Launchpad project
2009/1/14 Dan Korostelev nad...@gmail.com: 2009/1/13 Gary Poster gary.pos...@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. :) -- WBR, Dan Korostelev ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some tools from the Launchpad project
On Jan 13, 2009, at 4:15 PM, Dan Korostelev wrote: 2009/1/14 Dan Korostelev nad...@gmail.com: 2009/1/13 Gary Poster gary.pos...@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 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Some tools from the Launchpad project
Hi Gary Betreff: [Zope-dev] Some tools from the Launchpad project Hi all. As announced elsewhere (and described in https://dev.launchpad.net/OpenSourcing) , Canonical's Launchpad project is working towards open-sourcing the majority of the code base by this summer. Prior and subsequent to the grand open-sourcing date, the Launchpad developers are encouraged to abstract stand-alone code for distributions. Since Launchpad uses several Zope libraries, some of the stand-alone packages may be of special interest to the Zope community. Unsurprisingly (at least if you know Launchpad), the packages use bzr for revision control, and Launchpad for codehosting, bug tracking, and so on. Currently we are standardizing on zc.buildout-based releases for these packages. We have two at the moment: http://pypi.python.org/pypi/lazr.delegates Provides an interesting Python delegation pattern. Uses zope.interface. cool ! 1+ for move this to zope.interface Regards Roger Ineichen ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )