Re: [Zope-dev] zope.container broken

2009-03-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger Ineichen wrote: The zope.container package was broken. I added a missing ComponentLookupError import. Yup, and there is no test for that 'browserDefault' raising the error, either. Can someone with a linux/windows system release

Re: [Zope-dev] zope.container broken

2009-03-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger Ineichen wrote: The zope.container package was broken. I added a missing ComponentLookupError import. Yup, and there is no test for that 'browserDefault' raising the error, either. Can someone with a linux/windows system release

Re: [Zope-dev] zope.container broken

2009-03-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Roger Ineichen wrote: The zope.container package was broken. I added a missing ComponentLookupError import. Yup, and there is no test for that 'browserDefault' raising the error, either. Can someone with a linux/windows

Re: [Zope-dev] Question: additional context for IAnnotations adapter?

2009-03-09 Thread Dieter Maurer
Jacob Holm wrote at 2009-3-6 01:55 +0100: ... I added it while working for ZC two years ago. It was needed to support a use case where the context used for looking up the annotation was not necessarily the current site. I don't know if the use case is still relevant to ZC, but the pattern is

Re: [Zope-dev] zope.container broken

2009-03-09 Thread Roger Ineichen
Hi Tres Betreff: Re: [Zope-dev] zope.container broken -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger Ineichen wrote: The zope.container package was broken. I added a missing ComponentLookupError import. Yup, and there is no test for that 'browserDefault' raising the error,

Re: [Zope-dev] deprecating the deprecation system?

2009-03-09 Thread Dieter Maurer
Roger Ineichen wrote at 2009-3-8 14:38 +0100: ... Can you give an example of a meaningless deprecation warning? A few of the deprecations I have disliked for a long time: /home/dieter/Z/Products/Archetypes/__init__.py:15: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions'

Re: [Zope-dev] zope.container broken

2009-03-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger Ineichen wrote: Hi Tres Betreff: Re: [Zope-dev] zope.container broken -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger Ineichen wrote: The zope.container package was broken. I added a missing ComponentLookupError import. Yup, and

Re: [Zope-dev] Question: additional context for IAnnotations adapter?

2009-03-09 Thread Dan Korostelev
2009/3/9 Dieter Maurer die...@handshake.de: Jacob Holm wrote at 2009-3-6 01:55 +0100: ... I added it while working for ZC two years ago. It was needed to support a use case where the context used for looking up the annotation was not necessarily the current site. I don't know if the use case is

Re: [Zope-dev] deprecating the deprecation system?

2009-03-09 Thread Lennart Regebro
On Mon, Mar 9, 2009 at 15:56, Dieter Maurer die...@handshake.de wrote: The product_name parameter used to be mandatory -- thus all calls to ToolInit had to use it. Then, a means was found to derive it automatically from the context. The developper was so happy that he wanted all others

Re: [Zope-dev] zope.container broken

2009-03-09 Thread Roger Ineichen
Hi Tres Betreff: Re: AW: [Zope-dev] zope.container broken [...] Can someone with a linux/windows system release zope.component with the C extensions? Why do you need a release? Hm, I'm confused. Because the existing release is broken. I don't think we are quite done

[Zope-dev] [zope.testbrowser] r84900

2009-03-09 Thread Malthe Borch
Code snippet: def open(self, url, data=None): See zope.testbrowser.interfaces.IBrowser url = str(url) This string coercion is unfortunate, because ``mechanize`` accepts a (mechanize-) request-object in place of a URL string here. Using a custom request object allows us to do

[Zope-dev] Python3 and attribute annotations.

2009-03-09 Thread Dan Korostelev
Hi zope developers! As you may know, python 3 introduced the concept of annotations for callable objects. That annotations store information about arguments and return values, which is kinda nice language feature that will allow us to do interesting things. But there's a problem: those

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-09 Thread Gary Poster
On Mar 9, 2009, at 5:20 PM, Dan Korostelev wrote: Hi zope developers! As you may know, python 3 introduced the concept of annotations for callable objects. That annotations store information about arguments and return values, which is kinda nice language feature that will allow us to do

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-09 Thread Martijn Pieters
On Mon, Mar 9, 2009 at 22:20, Dan Korostelev nad...@gmail.com wrote: As you may know, python 3 introduced the concept of annotations for callable objects. That annotations store information about arguments and return values, which is kinda nice language feature that will allow us to do

Re: [Zope-dev] choice of test runner...

2009-03-09 Thread Martijn Faassen
Chris Withers wrote: Wichert Akkerman wrote: I would like to see a move away from zope testing frameworks to a more standard testing infrastructure: setup.py test, possibly combined with using nose. I'd love to see a side-by-side feature comparison of the major python test discovering and

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-09 Thread Dan Korostelev
2009/3/10 Martijn Pieters m...@zopatista.com: On Mon, Mar 9, 2009 at 22:20, Dan Korostelev nad...@gmail.com wrote: As you may know, python 3 introduced the concept of annotations for callable objects. That annotations store information about arguments and return values, which is kinda nice

Re: [Zope-dev] setup.py extra dependencies

2009-03-09 Thread Martijn Faassen
Hi there, Gary Poster wrote: [snip] Fair enough. Thanks for the feedback! I've recorded these as decisions of the steering group. Regards, Martijn ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No

Re: [Zope-dev] SVN: zope.component/trunk/ Merge the 'tseaver-wo_zope_deferredimport' branch:

2009-03-09 Thread Dan Korostelev
2009/3/5 Martijn Faassen faas...@startifact.com: Chris Withers wrote: Martijn Faassen wrote: I think we can only make the correct determination if we get an idea of the performance implications. If it turns out the C code brings significant speedups in real-world applications, we should

[Zope-dev] zope.password

2009-03-09 Thread Roger Ineichen
Hi steering group and Dan During update z3c.authenticator and replace the password with the new zope.apssword implementation, I saw that the vocabulary Passsword Manager Names is not available in the zope.password package. I think the password package should also provide this vocabulary. Or at

Re: [Zope-dev] choice of test runner...

2009-03-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: Chris Withers wrote: Wichert Akkerman wrote: I would like to see a move away from zope testing frameworks to a more standard testing infrastructure: setup.py test, possibly combined with using nose. I'd love to see a