Re: [Zope-dev] Proposal: Backporting some Python 2.5/2.6 fixes
Andreas Jung wrote: > On 27.10.2008 18:55 Uhr, Sidnei da Silva wrote: >> On Mon, Oct 27, 2008 at 3:42 PM, Andreas Jung<[EMAIL PROTECTED]> wrote: >>> Why do we need these backports on the current maintenance branches? >> >> They are small cleanups that could potentially allow someone to run >> Python 2.5 or 2.6 if they really really really wanted to, but note >> should be made that it would be completely and utterly unsupported. > > Please create branches first and then lets review the changes. What is > the state of the compatability of Z3 modules with Python 2.5/2.6 as used > in Zope 2.10/2.11? Zope 2.10 contains Zope 3.3 which most likely doesn't work on Python 2.5. Nobody has bothered to take a look, really, since it's ages old. Zope 2.11 contains the Zope 3.4 KGS, as far as I'm aware. If the 3.4 KGS refers to the latest bugfix releases of all packages, then it works on Python 2.5. Superficially, many Zope 3 packages also work on Python 2.6 (e.g. Grok runs), but a closer look reveals various test failures. IMHO we shouldn't worry about 2.10 and 2.11 and just care about 2.12 at this point. By now it should work with Python 2.5, right? Let's release it soonish. Not only will it bring Python 2.5 compatibility but it also gets rid of Acquisition-wrapped views and introduces (optional) __parent__ pointers. Three years after having started the implementation, I think it's time to get it out there :) ___ 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] Proposal: Backporting some Python 2.5/2.6 fixes
Hanno Schlichting wrote: >>> Would anyone be against this? >> I find this pretty disturbing as it implies you *would* be running Zope >> 2.10 on Python 2.5 or 2.6 without fixing RestrictedPython. > > RestrictedPython is its own package. ...which python scripts and page templates rely on heavilly. > If Zope 2.10 / 2.11 does not > produce errors It's not errors that I'm worried about, it's security holes. > to run the latest RestrictedPython version with it to get a complete > functioning system. You're missing the point. > Having a them available for review in a branch as Andreas requested is > still a good idea. Indeed. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ 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] Proposal: Backporting some Python 2.5/2.6 fixes
Chris Withers wrote: > Sidnei da Silva wrote: >> I would like to propose backporting some of the fixes needed for >> Python 2.5 and 2.6 all the way down to Zope 2.10. >> I would *not* backport changes to RestrictedPython because >> those are actually features (support for newer versions of Python) as >> opposed to the other changes, which are just 'bugfixes' IMHO. >> >> Would anyone be against this? > > I find this pretty disturbing as it implies you *would* be running Zope > 2.10 on Python 2.5 or 2.6 without fixing RestrictedPython. RestrictedPython is its own package. If Zope 2.10 / 2.11 does not produce errors when being run under Python 2.5/2.6, you obviously need to run the latest RestrictedPython version with it to get a complete functioning system. Since RestrictedPython is its own package this is easy to do. As long as we don't advertise any kind of support for Zope 2.10 / 2.11 and Python 2.5 and 2.6 I don't see a problem with Sidnei's suggestion. Having a them available for review in a branch as Andreas requested is still a good idea. Hanno ___ 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] Proposal: Backporting some Python 2.5/2.6 fixes
Sidnei da Silva wrote: > I would like to propose backporting some of the fixes needed for > Python 2.5 and 2.6 all the way down to Zope 2.10. The fixes that would > be backported would only be those that deal with syntax changes (eg: > 'with' and 'as' keyword being used as variables, relative imports) and > some C-level changes, to Acquisition and zope.app.container if I > recall. I would *not* backport changes to RestrictedPython because > those are actually features (support for newer versions of Python) as > opposed to the other changes, which are just 'bugfixes' IMHO. > > Would anyone be against this? I find this pretty disturbing as it implies you *would* be running Zope 2.10 on Python 2.5 or 2.6 without fixing RestrictedPython. Now, given that what you probably mean is that you want to run Plone on Python 2.6 and given Plone's *heavy* reliance of RestrictedPython, this seems like a bad idea all round. If you want to see Zope 2.10+ run on Python 2.5/2.6, then you'll need to do the job properly... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ 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] Proposal: Backporting some Python 2.5/2.6 fixes
On Mon, Oct 27, 2008 at 4:06 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: > Please create branches first and then lets review the changes. Great. > What is the > state of the compatability of Z3 modules with Python 2.5/2.6 as used in Zope > 2.10/2.11? Hard to tell at this point. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 Skype zopedc ___ 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] Proposal: Backporting some Python 2.5/2.6 fixes
On 27.10.2008 18:55 Uhr, Sidnei da Silva wrote: On Mon, Oct 27, 2008 at 3:42 PM, Andreas Jung<[EMAIL PROTECTED]> wrote: Why do we need these backports on the current maintenance branches? They are small cleanups that could potentially allow someone to run Python 2.5 or 2.6 if they really really really wanted to, but note should be made that it would be completely and utterly unsupported. Please create branches first and then lets review the changes. What is the state of the compatability of Z3 modules with Python 2.5/2.6 as used in Zope 2.10/2.11? Andreas begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:[EMAIL PROTECTED] title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ 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] Proposal: Backporting some Python 2.5/2.6 fixes
On Mon, Oct 27, 2008 at 3:42 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: > Why do we need these backports on the current maintenance branches? They are small cleanups that could potentially allow someone to run Python 2.5 or 2.6 if they really really really wanted to, but note should be made that it would be completely and utterly unsupported. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 Skype zopedc ___ 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] Proposal: Backporting some Python 2.5/2.6 fixes
On 27.10.2008 18:36 Uhr, Sidnei da Silva wrote: Hi all, I would like to propose backporting some of the fixes needed for Python 2.5 and 2.6 all the way down to Zope 2.10. The fixes that would be backported would only be those that deal with syntax changes (eg: 'with' and 'as' keyword being used as variables, relative imports) and some C-level changes, to Acquisition and zope.app.container if I recall. I would *not* backport changes to RestrictedPython because those are actually features (support for newer versions of Python) as opposed to the other changes, which are just 'bugfixes' IMHO. Why do we need these backports on the current maintenance branches? Andreas begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:[EMAIL PROTECTED] title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ 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 )