[Zope-dev] Class advisors in Python 3

2010-07-30 Thread Baiju M
Hi, Does class advisors like 'implements' and 'adapts' are going to work in Python 3 ? If not, should we discourage its usage now ? Regards, Baiju M ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No

Re: [Zope-dev] Class advisors in Python 3

2010-07-30 Thread Wichert Akkerman
On 7/30/10 13:31 , Baiju M wrote: Hi, Does class advisors like 'implements' and 'adapts' are going to work in Python 3 ? If not, should we discourage its usage now ? Regardless if they work or not I would love to have a decorator version of them. Wichert.

Re: [Zope-dev] Class advisors in Python 3

2010-07-30 Thread Hanno Schlichting
On Fri, Jul 30, 2010 at 1:53 PM, Stephan Richter srich...@cosmos.phy.tufts.edu wrote: On Friday, July 30, 2010, Hanno Schlichting wrote: zope.interface contains 2to3 fixers to rewrite them to a class decorator syntax IIRC. Wow, that's really nice. BTW, does Python 2.7 support class decorators

Re: [Zope-dev] Class advisors in Python 3

2010-07-30 Thread Lennart Regebro
On Fri, Jul 30, 2010 at 13:35, Hanno Schlichting ha...@hannosch.eu wrote: zope.interface contains 2to3 fixers to rewrite them to a class decorator syntax IIRC. Actually, it's in zope.fixers. :) And it's only implements() - @implementor i think. Adapts come with zope.component which isn't ported

Re: [Zope-dev] zope.testing / zope.testrunner path forward:

2010-07-30 Thread Lennart Regebro
On Tue, Jul 27, 2010 at 13:26, Jonathan Lange j...@mumak.net wrote: Just to be clear, is zope.testing 4.0.0 intended to work with Python 2? Yes. ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] z3c.testsetup test faliure (was Re: Zope Tests: 55 OK, 18 Failed)

2010-07-30 Thread Adam GROSZER
Hello Christophe, Friday, July 30, 2010, 6:26:47 PM, you wrote: CC Is there a possibility that tests fail when several builders run at the same time? I keep them serialized, one after the other just be on the safe side. -- Best regards, Adam GROSZER

Re: [Zope-dev] z3c.testsetup test faliure (was Re: Zope Tests: 55 OK, 18 Failed)

2010-07-30 Thread Uli Fouquet
Hi Christophe, Christophe Combelles wrote: Thanks for releasing 0.8.1. It seemed to fix it! However I have a weird problem: builders were all green, then I suddenly had repeated failures with 0.8.1 on all the builders, then I've tried to launch the tests by myself directly in the

Re: [Zope-dev] cAccessControl.so Zope 2.12.7

2010-07-30 Thread Christopher Warner
This is probably an issue with 2.12.7 to 2.12.10 as current. I haven't tested beyond 2.12.7 however. The AccessControl module; specifically the shared lib cAccessControl.so as built on an osx arch x86_64 is incorrect as the runtime expects i386. In most cases a knowledgable user will able to

Re: [Zope-dev] cAccessControl.so Zope 2.12.7

2010-07-30 Thread Hanno Schlichting
On Fri, Jul 30, 2010 at 10:08 PM, Christopher Warner cwar...@kernelcode.com wrote: Unfortunately in the above specific case I'm building against a standalone Plone instance which ships only with a static lib version of Python 2.6. So this doesn't work. This became an issue with Plone 4.0b5 as

Re: [Zope-dev] cAccessControl.so Zope 2.12.7

2010-07-30 Thread Christopher Warner
On Fri, Jul 30, 2010 at 4:16 PM, Hanno Schlichting ha...@hannosch.euwrote: On Fri, Jul 30, 2010 at 10:08 PM, Christopher Warner cwar...@kernelcode.com wrote: Unfortunately in the above specific case I'm building against a standalone Plone instance which ships only with a static lib version

Re: [Zope-dev] Class advisors in Python 3

2010-07-30 Thread Charlie Clark
Am 30.07.2010, 13:57 Uhr, schrieb Hanno Schlichting ha...@hannosch.eu: Class decorators were introduced in Python 2.6. I think it's going to be a whole before we can require 2.6 as a minimum version. ZTK 1.1 deprecates Python 2.4 *and* 2.5. So, 2010-12-31 is the last day for their

Re: [Zope-dev] Class advisors in Python 3

2010-07-30 Thread Hanno Schlichting
On Fri, Jul 30, 2010 at 11:49 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: ZTK 1.1 deprecates Python 2.4 *and* 2.5. So, 2010-12-31 is the last day for their official support. Who told you that? We documented our decision at