[Zope-Annce] [ANN] Epoz 2.0.0 released

2005-05-28 Thread Maik Jablonski
Hi, I've just released Epoz 2.0.0. Main new features are: - You can now use several Epoz-Wysiwyg-areas on a single page at once. This feature was often requested (esp. for use with Archetypes) and Benoit Pin did a really great job on making this real. Many, many Thanks, Benoit! Never thought

[Zope-Annce] New Zealand Zope Users Group (NZZUG) website launched

2005-05-28 Thread Tim Knapp
Hello, The New Zealand Zope Users Group (NZZUG) website has been created with the following objective (taken from the NZZUG site's homepage): Our aim is to promote the use and ongoing development of Zope, Plone and Python technologies in NZ. Currently the site's focal point is a mailing list but

[Zope-Annce] Fredericksburg, VA ZPUG June 8

2005-05-28 Thread Gary Poster
Please join us June 8, 7:30-9:00 PM, for the inaugural meeting of the Fredericksburg, VA Zope and Python User Group (ZPUG). Tres Seaver, architect of the Zope Content Management Framework, will present. Further meetings are planned for the second Wednesday of every month. Location will be

[Zope-Checkins] CVS: Packages/App - ApplicationManager.py:1.88.4.5.26.1 CacheManager.py:1.27.44.3.30.1 Common.py:1.20.74.1 DavLockManager.py:1.8.132.1 Extensions.py:1.21.12.2.30.1 Factory.py:1.27.64.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Packages/App In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/App Modified Files: Tag: tseaver-hasattr_geddon-branch ApplicationManager.py CacheManager.py Common.py DavLockManager.py Extensions.py Factory.py FactoryDispatcher.py

[Zope-Checkins] CVS: Packages/BTrees/tests - testBTrees.py:1.51.8.2.30.1 testSetOps.py:1.13.156.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Packages/BTrees/tests In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/BTrees/tests Modified Files: Tag: tseaver-hasattr_geddon-branch testBTrees.py testSetOps.py Log Message: - Removed all uses of the 'hasattr' builtin from the core, where

[Zope-Checkins] CVS: Packages/Interface - Implements.py:1.4.12.1.32.1 Verify.py:1.4.94.1 _InterfaceClass.py:1.6.132.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Packages/Interface In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Interface Modified Files: Tag: tseaver-hasattr_geddon-branch Implements.py Verify.py _InterfaceClass.py Log Message: - Removed all uses of the 'hasattr' builtin from the core,

[Zope-Checkins] CVS: Products/OFSP - Draft.py:1.20.4.1.30.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/OFSP In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/OFSP Modified Files: Tag: tseaver-hasattr_geddon-branch Draft.py Log Message: - Removed all uses of the 'hasattr' builtin from the core, where the object being tested

[Zope-Checkins] CVS: Products/PluginIndexes/DateIndex/tests - test_DateIndex.py:1.5.2.4.28.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/PluginIndexes/DateIndex/tests In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/PluginIndexes/DateIndex/tests Modified Files: Tag: tseaver-hasattr_geddon-branch test_DateIndex.py Log Message: - Removed all uses of the 'hasattr'

[Zope-Checkins] CVS: Products/PluginIndexes/FieldIndex/tests - testFieldIndex.py:1.6.68.2.24.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/PluginIndexes/FieldIndex/tests In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/PluginIndexes/FieldIndex/tests Modified Files: Tag: tseaver-hasattr_geddon-branch testFieldIndex.py Log Message: - Removed all uses of the

[Zope-Checkins] CVS: Products/PluginIndexes/KeywordIndex/tests - testKeywordIndex.py:1.6.12.2.2.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/PluginIndexes/KeywordIndex/tests In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/PluginIndexes/KeywordIndex/tests Modified Files: Tag: tseaver-hasattr_geddon-branch testKeywordIndex.py Log Message: - Removed all uses of the

[Zope-Checkins] CVS: Products/PluginIndexes/PathIndex - PathIndex.py:1.35.2.5.28.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/PluginIndexes/PathIndex In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/PluginIndexes/PathIndex Modified Files: Tag: tseaver-hasattr_geddon-branch PathIndex.py Log Message: - Removed all uses of the 'hasattr' builtin from the

[Zope-Checkins] CVS: Products/PluginIndexes/common - __init__.py:1.5.66.1 util.py:1.10.68.5.22.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/PluginIndexes/common In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/PluginIndexes/common Modified Files: Tag: tseaver-hasattr_geddon-branch __init__.py util.py Log Message: - Removed all uses of the 'hasattr' builtin from the

[Zope-Checkins] CVS: Products/PythonScripts - PythonScript.py:1.46.2.10.26.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/PythonScripts In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/PythonScripts Modified Files: Tag: tseaver-hasattr_geddon-branch PythonScript.py Log Message: - Removed all uses of the 'hasattr' builtin from the core, where

[Zope-Checkins] CVS: Products/Sessions/tests - testSessionDataManager.py:1.15.44.1.34.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/Sessions/tests In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/Sessions/tests Modified Files: Tag: tseaver-hasattr_geddon-branch testSessionDataManager.py Log Message: - Removed all uses of the 'hasattr' builtin from the core,

[Zope-Checkins] CVS: Products/SiteAccess - AccessRule.py:1.5.12.1.28.1 SiteRoot.py:1.6.68.1.28.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/SiteAccess In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/SiteAccess Modified Files: Tag: tseaver-hasattr_geddon-branch AccessRule.py SiteRoot.py Log Message: - Removed all uses of the 'hasattr' builtin from the core, where

[Zope-Checkins] CVS: Products/ZCTextIndex - Lexicon.py:1.19.64.1 ZCTextIndex.py:1.48.2.2.2.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/ZCTextIndex In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/ZCTextIndex Modified Files: Tag: tseaver-hasattr_geddon-branch Lexicon.py ZCTextIndex.py Log Message: - Removed all uses of the 'hasattr' builtin from the core, where

[Zope-Checkins] CVS: Products/ZCatalog - Catalog.py:1.111.2.7.2.1 CatalogAwareness.py:1.17.68.1.38.1 CatalogPathAwareness.py:1.11.16.1.38.1 ZCatalog.py:1.126.2.6.24.1 ZCatalogIndexes.py:1.8.136.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/ZCatalog In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/ZCatalog Modified Files: Tag: tseaver-hasattr_geddon-branch Catalog.py CatalogAwareness.py CatalogPathAwareness.py ZCatalog.py ZCatalogIndexes.py Log Message: -

[Zope-Checkins] CVS: Products/ZSQLMethods - SQL.py:1.21.132.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Products/ZSQLMethods In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Products/ZSQLMethods Modified Files: Tag: tseaver-hasattr_geddon-branch SQL.py Log Message: - Removed all uses of the 'hasattr' builtin from the core, where the object

[Zope-Checkins] CVS: Packages/Shared/DC/ZRDB - Aqueduct.py:1.56.68.3.12.1 Connection.py:1.35.68.4.28.1 DA.py:1.110.12.7.22.1 RDB.py:1.33.132.1 Results.py:1.14.118.1 Search.py:1.20.68.3.12.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Packages/Shared/DC/ZRDB In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/Shared/DC/ZRDB Modified Files: Tag: tseaver-hasattr_geddon-branch Aqueduct.py Connection.py DA.py RDB.py Results.py Search.py Log Message: - Removed all uses of the

[Zope-Checkins] CVS: Packages/ZTUtils - Tree.py:1.15.2.5.22.1 Zope.py:1.11.42.6.26.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Packages/ZTUtils In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/ZTUtils Modified Files: Tag: tseaver-hasattr_geddon-branch Tree.py Zope.py Log Message: - Removed all uses of the 'hasattr' builtin from the core, where the object being tested

[Zope-Checkins] CVS: Zope/lib/python/zExceptions - TracebackSupplement.py:1.1.2.1.34.1

2005-05-28 Thread Tres Seaver
Update of /cvs-repository/Zope/lib/python/zExceptions In directory cvs.zope.org:/tmp/cvs-serv32028/lib/python/zExceptions Modified Files: Tag: tseaver-hasattr_geddon-branch TracebackSupplement.py Log Message: - Removed all uses of the 'hasattr' builtin from the core, where

Re: [Zope-dev] Re: hasattr implementation for Zope?

2005-05-28 Thread Dieter Maurer
Tres Seaver wrote at 2005-5-27 08:22 -0400: ... As a local patch, this isn't too bad (one could even package it as a do-nothing-after-initialization product). However, no redistributed product code should rely on the presence of a patched 'hasattr', but should use the 3 argument getattr instead.

Re: [Zope-dev] Re: hasattr implementation for Zope?

2005-05-28 Thread Dieter Maurer
Jim Fulton wrote at 2005-5-27 11:49 -0400: ... I'm sure this was an unintentional non-acceptance. It would be a lot easier if Dieter became a contributor and checked this in himself. You know the unqualified indemnification clause concerning patents it preventing me... -- Dieter

Re: [Zope-dev] Re: hasattr implementation for Zope?

2005-05-28 Thread Dieter Maurer
Paul Winkler wrote at 2005-5-27 11:02 -0400: ... def safe_hasattr(obj, attr, acquired=True, _marker=[]): if not acquired: obj = aq_inner(aq_explicit(obj)) This should be obj = aq_base(obj). The aq_explicit(aq_inner(...)) dance is only necessary in untrusted code as aq_base is not

Re: [Zope-dev] RAMcache and container vs. context

2005-05-28 Thread Dieter Maurer
Stefan H. Holek wrote at 2005-5-27 10:59 +0100: A TALES expression may be prohibitively expensive in any case, no matter how simple it is kept. Please make sure to do some comparative profiling. Cache keys are recomputed on every call of the script, AFAICS. The thought of doing this in

Re: [Zope-dev] Re: hasattr implementation for Zope?

2005-05-28 Thread Dieter Maurer
Tim Peters wrote at 2005-5-27 13:49 -0400: ... def lookup1(arg, _marker=object()): return _marker ... _marker = object() def lookup3(arg): return _marker ... lookup1 0.427597 lookup3 0.404399 Do you understand why lookup3 is faster than lookup1? I had the impression that access to

Re: [Zope-dev] Re: hasattr implementation for Zope?

2005-05-28 Thread Tim Peters
[Tim Peters] def lookup1(arg, _marker=object()): return _marker ... _marker = object() def lookup3(arg): return _marker ... lookup1 0.427597 lookup3 0.404399 [Dieter Maurer] Do you understand why lookup3 is faster than lookup1? I had the impression that access to the

Re: [Zope-dev] Re: hasattr implementation for Zope?

2005-05-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: Tres Seaver wrote at 2005-5-27 08:22 -0400: ... As a local patch, this isn't too bad (one could even package it as a do-nothing-after-initialization product). However, no redistributed product code should rely on the presence

Re: [Zope] XML Content handling questions.

2005-05-28 Thread Dennis Allison
While you need to write appropriate External Methods and/or Products to use it, we have found that the ReportLab pyRXP system works well. On Sat, 28 May 2005, Andreas Jung wrote: Zope itself has no native XML support. However there are some products like ParsedXML that provide additional

Re: [Zope] Finding an object in a folder

2005-05-28 Thread Dieter Maurer
Paul Winkler wrote at 2005-5-27 11:08 -0400: On Fri, May 27, 2005 at 03:26:04PM +0200, Dieter Maurer wrote: A higher risk comes from the fact that some Python packages may rely on the broken hasattr behaviour. That's the reason why the problem is not fixed in Python itself. And that's a very

[Zope] zope server versions and Zopetime() function.

2005-05-28 Thread Hamzat Kamal
Hello all, I was testing zopetime() function on 2 diffrent versions of zope servers, both running on different linux machines and i was getting 2 diffrent results: dtml-var expr=ZopeTime().toZone('GMT+1').strftime('%d%m%Y %H:%M:%S - %Z') On (Zope 2.6.1 (binary release, python 2.1, linux2-x86),

Re: [Zope] LDAPUserFolder at Zope root

2005-05-28 Thread Jens Vagelpohl
On May 27, 2005, at 19:29, J Cameron Cooper wrote: Do not do that. You don't want to get locked out of your Zope because of LDAP problems. The emergency user always works. You can't lock yourself out due to LDAP problems. If anyone sees a symptom like that on the current

Re: [Zope] strftime and timezone

2005-05-28 Thread Hamzat Kamal
What is simple for you may be complex for others. I think that is the essence of this forum, to share your wealth of knowledge and experience with the less priviledge. kamal. At 08:34 PM 3/18/2005 +0100, Dieter Maurer wrote: Hong Yuan wrote at 2005-3-18 11:26 +0800: ... [DM] The easiest

[Zope] sending attachments

2005-05-28 Thread Varun Parange
hi, is it possible to send mails with attachments using Zope MailHost?? if so,...how do u achieve it?__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: [Zope] Receiving mails

2005-05-28 Thread Tino Wildenhain
Am Freitag, den 27.05.2005, 11:41 -0700 schrieb Varun Parange: hi, i have downloaded an SMTP server and using it i can send mails with the help of Zope MailHost however i would also like to recieve mails how do i do this. which additional products do i need to download...

Re: [Zope] DTML in Zope 2 vs Zope 3

2005-05-28 Thread David H
Andrew Milton wrote: +---[ Jonathan Cyr ]-- | Damn users, using all this imperfect software. These Kids Today! ;-) | | Easy Big Fella, Whooa. | You must be new here We've all learnt to ignore Chris... He gets easily confused... or maybe he doesn't take his