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

2010-08-02 Thread Charlie Clark
Am 31.07.2010, 04:19 Uhr, schrieb Hanno Schlichting ha...@hannosch.eu: Who told you that? We documented our decision at http://docs.zope.org/zopetoolkit/process/python-versions.html. Python 2.5 is nowhere close to being deprecated. It was decided at the same time as the decision was taken to

[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] 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