[Zope-dev] Python 2.0 and Zope Status?
What's the current state of Zope with Python 2.0? My current understanding of the issues is: - Problem with ExtensionClasses and 2.0's circular reference GC. Can someone elaborate on this? Is configuring python2.0 with the --without-cycle-gc flag a sufficient workaround for now? - Python 2.0's cPickle and cStringIO should be used instead of the Zope-supplied versions. Is that it? Anything else I'm missing? Thanks. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Python 2.0 and Zope Status?
On 20 Oct 2000 19:09:47 GMT, [EMAIL PROTECTED] (Ty Sarna) wrote: >What's the current state of Zope with Python 2.0? My current >understanding of the issues is: > > - Problem with ExtensionClasses and 2.0's circular reference GC. > Can someone elaborate on this? Is configuring python2.0 with That used to be a problem with some early cvs release, but it seems to have gone away now. Note that ExtensionClasses do not yet participate in the gc machinery, so cycles involving them can still not be collected. > the --without-cycle-gc flag a sufficient workaround for now? I suggest this is the first thing you try if python faults during startup. > - Python 2.0's cPickle and cStringIO should be used instead of the > Zope-supplied versions. Yes. >Is that it? Anything else I'm missing? There are several places where Zope is not defending against objects which raise an exception inside str(). This has not been a problem up to now, but 2.0's unicode objects expose the problem. The most serious possible effect is of terminating a publisher thread. Fixes for these bugs are bundled into my patches to support Unicode, at http://www.zope.org/Members/htrd/wstring Other than that, 2.0 is great. Ive been using it extensively for several months now without problem. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Python 2.0 and Zope Status?
In article <[EMAIL PROTECTED]>, Toby Dickenson <[EMAIL PROTECTED]> wrote: > > - Problem with ExtensionClasses and 2.0's circular reference GC. > > Can someone elaborate on this? Is configuring python2.0 with > > That used to be a problem with some early cvs release, but it seems to > have gone away now. Yep... I tried it before you replied and it seems to work just fine. > Note that ExtensionClasses do not yet participate in the gc machinery, > so cycles involving them can still not be collected. However, Zope code should be fine because that's always been the case :) > There are several places where Zope is not defending against objects > which raise an exception inside str(). This has not been a problem up > to now, but 2.0's unicode objects expose the problem. But again, not something that should effect existing code (which should never generate unicode objects) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )