[Zope-Checkins] Re: [Checkins] SVN: Products.Five/trunk/ Now you can use the old registry with the new API for registerig components.

2006-07-28 Thread Florent Guillaume
+# 1 1 1: 0 +return xor(xor(a, b), c) and not (a and b and c) Heh, boolean algebra is nice but sometimes integers convey the meaning much better: return int(a)+int(b)+int(c) == 1 Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com

[Zope-Checkins] Re: [Checkins] SVN: Products.Five/trunk/ Now you can use the old registry with the new API for registerig components.

2006-07-28 Thread Florent Guillaume
Indeed :) On 29 Jul 2006, at 00:39, Benji York wrote: Florent Guillaume wrote: On 27 Jul 2006, at 16:15, Lennart Regebro wrote: Modified: Products.Five/trunk/site/localsite.py === --- Products.Five/trunk/site/localsite.py 2006

[Zope-dev] Re: 2.9.4? reStructuredText support?

2006-07-09 Thread Florent Guillaume
javascript in the pages, and therefore cookie stealing. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/OFS/Traversable.py Correct view traversal security checks

2006-07-06 Thread Florent Guillaume
Log message for revision 69002: Correct view traversal security checks Changed: U Zope/branches/2.10/lib/python/OFS/Traversable.py -=- Modified: Zope/branches/2.10/lib/python/OFS/Traversable.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py Merged 69002 from 2.10 branch:

2006-07-06 Thread Florent Guillaume
Log message for revision 69003: Merged 69002 from 2.10 branch: Correct view traversal security checks Changed: U Zope/trunk/lib/python/OFS/Traversable.py -=- Modified: Zope/trunk/lib/python/OFS/Traversable.py === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/OFS/Traversable.py Code cleanup.

2006-07-06 Thread Florent Guillaume
Log message for revision 69004: Code cleanup. Changed: U Zope/branches/2.10/lib/python/OFS/Traversable.py -=- Modified: Zope/branches/2.10/lib/python/OFS/Traversable.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py Code cleanup.

2006-07-06 Thread Florent Guillaume
Log message for revision 69005: Code cleanup. Changed: U Zope/trunk/lib/python/OFS/Traversable.py -=- Modified: Zope/trunk/lib/python/OFS/Traversable.py === --- Zope/trunk/lib/python/OFS/Traversable.py2006-07-06 14:24:13

[Zope-dev] Re: Proposal: Scrap zpkg for Zope2 releases

2006-07-06 Thread Florent Guillaume
asap. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/OFS/ Fixed refactored traversal on bound methods of classes with no default

2006-07-05 Thread Florent Guillaume
Log message for revision 68980: Fixed refactored traversal on bound methods of classes with no default access. Changed: U Zope/branches/2.10/lib/python/OFS/Traversable.py U Zope/branches/2.10/lib/python/OFS/tests/testTraverse.py -=- Modified:

Re: [Zope-dev] local namespace optimizations?

2006-07-05 Thread Florent Guillaume
On 5 Jul 2006, at 19:05, Andreas Jung wrote: --On 5. Juli 2006 18:56:25 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found

[Zope-dev] Re: local namespace optimizations?

2006-07-05 Thread Florent Guillaume
[EMAIL PROTECTED] wrote: Florent Guillaume wrote at 2006-7-5 18:56 +0200: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found in unrestrictedTraverse? Why do you think they were

[Zope] Re: database conflict errors

2006-06-29 Thread Florent Guillaume
more buckets get written. But in multi-threaded mode, this very spreading leads to better conflict resolution behavior. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope-dev] Re: [Checkins] SVN: Zope/branches/2.10/ OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data).

2006-06-28 Thread Florent Guillaume
) - def test_suite(): return unittest.TestSuite(( unittest.makeSuite(FileTests), ___ Checkins mailing list [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/checkins -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33

[Zope-dev] Re: Proposal: Scrap zpkg for Zope2 releases

2006-06-25 Thread Florent Guillaume
more. Something based on svn log -v, for instance: svn log -v | awk '/^(r| D}/{print};' Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev

[Zope] Re: Issue 1896: manage_changeProperties() vs manage_addProperty()

2006-06-23 Thread Florent Guillaume
can't think of one. Either of the following diffs (of course not both!) fixes the problem for me: I've reopened the bug. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope] Re: Import Modules

2006-06-23 Thread Florent Guillaume
're'). See Products/PythonScripts/README.txt for a description of how to enable regexps in python scripts. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope

[Zope] Re: Import Modules

2006-06-23 Thread Florent Guillaume
're'). See Products/PythonScripts/README.txt for a description of how to enable regexps in python scripts. Sorry, I meant Products/PythonScripts/module_access_examples.py Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL

[Zope] Re: How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-21 Thread Florent Guillaume
that if the second part of your transaction provokes a ConflictError (which may happen in the normal course of events), your whole request will be retried, including reinterpreting the POSTed data (which the request always saves anyway) and writing to your OOBTree etc. Florent -- Florent

Re: [Zope-dev] Re: default view

2006-06-20 Thread Florent Guillaume
On 20 Jun 2006, at 13:23, Martijn Faassen wrote: Philipp von Weitershausen wrote: Florent Guillaume wrote: Florent Guillaume wrote: So here's a proposal: how about having the following order: - __bobo_traverse__ - unacquired attribute - zope 3 views - acquired attributes Attached

[Zope-dev] Re: Flood of deprecation warnings...

2006-06-20 Thread Florent Guillaume
spurious warnings from it in some past version. Everybody knows it's now been mea-culpa-ed and fixed. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist

[Zope] Re: Performance hit for DeadlockDebugger?

2006-06-20 Thread Florent Guillaume
enabled in production, which is why I added this whole secret password stuff. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http

[Zope-dev] Re: default view

2006-06-19 Thread Florent Guillaume
... name=@@index.html /??? That doesn't sound right. Philipp -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman

[Zope-dev] Re: Nasty error message with obscure bug

2006-06-19 Thread Florent Guillaume
On 19 Jun 2006, at 14:59, Chris Withers wrote: Florent Guillaume wrote: If anyone with greater knowledge could implement the above without much pain, that'd be great. In any case, hopefully Google will catch this some time and save the next weary traveller who bumps into it a couple

[Zope-dev] Re: default view

2006-06-18 Thread Florent Guillaume
On 18 Jun 2006, at 12:37, Philipp von Weitershausen wrote: Florent Guillaume wrote: Florent Guillaume wrote: So here's a proposal: how about having the following order: - __bobo_traverse__ - unacquired attribute - zope 3 views - acquired attributes Attached is the current diff I'm working

Re: [Zope-dev] Re: default view

2006-06-18 Thread Florent Guillaume
would happen in pure zope 3, where a default view of '@@foo' would mean the same as ++view+ +@@foo or foo, unless I'm mistaken. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope-dev] Re: default view

2006-06-17 Thread Florent Guillaume
Florent Guillaume wrote: So here's a proposal: how about having the following order: - __bobo_traverse__ - unacquired attribute - zope 3 views - acquired attributes Attached is the current diff I'm working with (for Zope 2.10). Please review the unit test (which pass as is), to check if you

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Florent Guillaume
implementation, provided you use only unicode everywhere, which we do. Thanks Philip for the move to z3 zpt! Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev

Re: [Zope-dev] Re: OFS.Application deprecations for Zope 2.10

2006-06-14 Thread Florent Guillaume
On 14 Jun 2006, at 22:06, Dieter Maurer wrote: Florent Guillaume wrote at 2006-6-13 22:13 +0200: Yes but the deprecation has been there for a while, and the third party product developers have been ignoring the warning. Their loss. Interestingly, it is usually not the loss for the third party

[Zope-dev] Re: OFS.Application deprecations for Zope 2.10

2006-06-13 Thread Florent Guillaume
why are we deprecating this just for the sake of it? ? If you need monkey patching I don't see why the framework should help you. This should be extremely rare occurences with big comments, not use of a magic 'methods' class attribute. Florent -- Florent Guillaume, Nuxeo (Paris, France

Re: [Zope-dev] Re: OFS.Application deprecations for Zope 2.10

2006-06-13 Thread Florent Guillaume
On 14 Jun 2006, at 00:45, Chris McDonough wrote: On Jun 13, 2006, at 4:13 PM, Florent Guillaume wrote: Yes but the deprecation has been there for a while, and the third party product developers have been ignoring the warning. Their loss. You're right. This only because I haven't managed

Re: [Zope] Re: filter messages at startup

2006-06-13 Thread Florent Guillaume
for nonexistent method 'manage_FTPget' 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

Re: [Zope-dev] OFS.Application deprecations for Zope 2.10

2006-06-09 Thread Florent Guillaume
Jun 2006, at 17:41, Chris McDonough wrote: Jusst out of curiosity, what is the rationale for deprecating methods? - C On Jun 9, 2006, at 10:52 AM, Florent Guillaume wrote: OFS.Application has a few deprecations warnings that were supposed to go away in Zope 2.10: __init__.py of %s has

[Zope-dev] Re: Unittests with different zope configuration?

2006-06-07 Thread Florent Guillaume
datastructure. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

[Zope-dev] Re: Unittests with different zope configuration?

2006-06-07 Thread Florent Guillaume
-in and into the environment. The debug_mode flag has a legacy location of Globals.DevelopmentMode. Cheers, Stefan On 7. Jun 2006, at 14:28, Florent Guillaume wrote: Stefan H. Holek wrote: I use this to set debug-mode off: # Switch off debug mode import App.config config

[Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PageTemplates/ Merged r68461 from 2.10 branch:

2006-06-05 Thread Florent Guillaume
the intention was and remove the necessity for hacky code like this... cheers, Chris Florent Guillaume wrote: Log message for revision 68462: Merged r68461 from 2.10 branch: Empty TALES path expressions are allowed in Zope 2. http://www.zope.org/Collectors/Zope/2118 Changed: U Zope

[Zope-dev] default view

2006-06-03 Thread Florent Guillaume
pretty that in this cas we only want view lookup. Opinions? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

[Zope-Checkins] SVN: Zope/branches/2.10/ Acquisition wrappers now correctly proxy __contains__.

2006-06-02 Thread Florent Guillaume
Log message for revision 68458: Acquisition wrappers now correctly proxy __contains__. Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/Acquisition/_Acquisition.c U Zope/branches/2.10/lib/python/Acquisition/tests.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.10/doc/CHANGES.txt Sync formatting with trunk.

2006-06-02 Thread Florent Guillaume
Log message for revision 68460: Sync formatting with trunk. Changed: U Zope/branches/2.10/doc/CHANGES.txt -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === --- Zope/branches/2.10/doc/CHANGES.txt 2006-06-02 14:34:52 UTC

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PageTemplates/ Empty TALES path expressions are allowed in Zope 2.

2006-06-02 Thread Florent Guillaume
Log message for revision 68461: Empty TALES path expressions are allowed in Zope 2. http://www.zope.org/Collectors/Zope/2118 Changed: U Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PageTemplates/ Merged r68461 from 2.10 branch:

2006-06-02 Thread Florent Guillaume
Log message for revision 68462: Merged r68461 from 2.10 branch: Empty TALES path expressions are allowed in Zope 2. http://www.zope.org/Collectors/Zope/2118 Changed: U Zope/trunk/lib/python/Products/PageTemplates/Expressions.py U

[Zope-dev] Re: __contains__ and acquisition problem?

2006-06-02 Thread Florent Guillaume
Ok I fixed this for Zope 2.10 and trunk: http://svn.zope.org/?view=revrev=68459 Florent Jim Fulton wrote: Anyway, the acquisition wrapper implementation hasn't been updated to handle many slots that were added in recent years, including __contains__. Jim Florent Guillaume wrote: Could

[Zope-dev] Re: SVN: Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py Revert unwanted checkin.

2006-06-02 Thread Florent Guillaume
Philipp von Weitershausen wrote: Tres Seaver wrote: Florent Guillaume wrote: Log message for revision 68445: Revert unwanted checkin. Changed: U Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py -=- Modified: Zope/branches/2.10/lib/python/Products/PageTemplates

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/ZCatalog/ZCatalog.py Removed a warning at Zope startup.

2006-06-01 Thread Florent Guillaume
Log message for revision 68427: Removed a warning at Zope startup. Changed: U Zope/branches/2.10/lib/python/Products/ZCatalog/ZCatalog.py -=- Modified: Zope/branches/2.10/lib/python/Products/ZCatalog/ZCatalog.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py Merged r68427 from 2.10 branch:

2006-06-01 Thread Florent Guillaume
Log message for revision 68428: Merged r68427 from 2.10 branch: Removed a warning at Zope startup. Changed: U Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py -=- Modified: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py Removed a warning at Zope startup.

2006-06-01 Thread Florent Guillaume
Log message for revision 68430: Removed a warning at Zope startup. Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py -=- Modified: Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/__init__.py Removed a warning at Zope startup.

2006-06-01 Thread Florent Guillaume
Log message for revision 68431: Removed a warning at Zope startup. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/__init__.py -=- Modified: Zope/trunk/lib/python/Products/PluginIndexes/__init__.py === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/ZCatalog/__init__.py Removed a warning at Zope startup.

2006-06-01 Thread Florent Guillaume
Log message for revision 68432: Removed a warning at Zope startup. Changed: U Zope/branches/2.10/lib/python/Products/ZCatalog/__init__.py -=- Modified: Zope/branches/2.10/lib/python/Products/ZCatalog/__init__.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/__init__.py Removed a warning at Zope startup.

2006-06-01 Thread Florent Guillaume
Log message for revision 68433: Removed a warning at Zope startup. Changed: U Zope/trunk/lib/python/Products/ZCatalog/__init__.py -=- Modified: Zope/trunk/lib/python/Products/ZCatalog/__init__.py === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/ZCatalog/__init__.py More robust.

2006-06-01 Thread Florent Guillaume
Log message for revision 68434: More robust. Changed: U Zope/branches/2.10/lib/python/Products/ZCatalog/__init__.py -=- Modified: Zope/branches/2.10/lib/python/Products/ZCatalog/__init__.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/__init__.py More robust.

2006-06-01 Thread Florent Guillaume
Log message for revision 68435: More robust. Changed: U Zope/trunk/lib/python/Products/ZCatalog/__init__.py -=- Modified: Zope/trunk/lib/python/Products/ZCatalog/__init__.py === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py More robust.

2006-06-01 Thread Florent Guillaume
Log message for revision 68436: More robust. Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py -=- Modified: Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/__init__.py More robust.

2006-06-01 Thread Florent Guillaume
Log message for revision 68437: More robust. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/__init__.py -=- Modified: Zope/trunk/lib/python/Products/PluginIndexes/__init__.py === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/App/Product.py Removed a warning at Zope startup.

2006-06-01 Thread Florent Guillaume
Log message for revision 68438: Removed a warning at Zope startup. Changed: U Zope/branches/2.10/lib/python/App/Product.py -=- Modified: Zope/branches/2.10/lib/python/App/Product.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/App/Product.py Removed a warning at Zope startup.

2006-06-01 Thread Florent Guillaume
Log message for revision 68439: Removed a warning at Zope startup. Changed: U Zope/trunk/lib/python/App/Product.py -=- Modified: Zope/trunk/lib/python/App/Product.py === --- Zope/trunk/lib/python/App/Product.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/ZGadflyDA/__init__.py Don't warn when the ZGadflyDA is imported by Zope startup code.

2006-06-01 Thread Florent Guillaume
Log message for revision 68440: Don't warn when the ZGadflyDA is imported by Zope startup code. Changed: U Zope/branches/2.10/lib/python/Products/ZGadflyDA/__init__.py -=- Modified: Zope/branches/2.10/lib/python/Products/ZGadflyDA/__init__.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/ Make python security policy work with a boolean __aatus__

2006-06-01 Thread Florent Guillaume
Log message for revision 68444: Make python security policy work with a boolean __aatus__ Changed: U Zope/branches/2.10/lib/python/AccessControl/ImplPython.py U Zope/branches/2.10/lib/python/AccessControl/tests/testZopeSecurityPolicy.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/ Make python security policy work with a boolean __aatus__

2006-06-01 Thread Florent Guillaume
Log message for revision 68446: Make python security policy work with a boolean __aatus__ Changed: U Zope/trunk/lib/python/AccessControl/ImplPython.py U Zope/trunk/lib/python/AccessControl/tests/testZopeSecurityPolicy.py -=- Modified: Zope/trunk/lib/python/AccessControl/ImplPython.py

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/AccessControl/ Make python security policy work with a boolean __aatus__

2006-06-01 Thread Florent Guillaume
Log message for revision 68447: Make python security policy work with a boolean __aatus__ Changed: U Zope/branches/2.9/lib/python/AccessControl/ImplPython.py U Zope/branches/2.9/lib/python/AccessControl/tests/testZopeSecurityPolicy.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/AccessControl/ImplPython.py Use isinstance, like the C implementation.

2006-06-01 Thread Florent Guillaume
Log message for revision 68448: Use isinstance, like the C implementation. Changed: U Zope/branches/2.10/lib/python/AccessControl/ImplPython.py -=- Modified: Zope/branches/2.10/lib/python/AccessControl/ImplPython.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/ImplPython.py Use isinstance, like the C implementation.

2006-06-01 Thread Florent Guillaume
Log message for revision 68449: Use isinstance, like the C implementation. Changed: U Zope/trunk/lib/python/AccessControl/ImplPython.py -=- Modified: Zope/trunk/lib/python/AccessControl/ImplPython.py === ---

[Zope-dev] Zope 2.10 TALES repeat and 'item'

2006-06-01 Thread Florent Guillaume
/even Anyone knows why? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] Re: Zope 2.10 deprecation warnings

2006-06-01 Thread Florent Guillaume
FYI I've fixed all this. Florent Florent Guillaume wrote: Current bare Zope 2.10 sends some deprecation warnings because it itself imports things that it deprecates, this will have to be hidden. Suggestions welcome: - App/Product.py imports ZClasses which are deprecated, - Products

[Zope-dev] Re: SVN: Zope/trunk/lib/python/AccessControl/ Make python security policy work with a boolean __aatus__

2006-06-01 Thread Florent Guillaume
On 1 Jun 2006, at 17:53, Philipp von Weitershausen wrote: Florent Guillaume wrote: Log message for revision 68446: Make python security policy work with a boolean __aatus__ Wow, I wasn't aware that only ints were possible. Shouldn't this be backported to Zope 2.9 as well? I consider

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PageTemplates/PageTemplateFile.py There must be no warning when __name__ is supplied.

2006-05-31 Thread Florent Guillaume
Log message for revision 68414: There must be no warning when __name__ is supplied. Changed: U Zope/branches/2.10/lib/python/Products/PageTemplates/PageTemplateFile.py -=- Modified: Zope/branches/2.10/lib/python/Products/PageTemplates/PageTemplateFile.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PageTemplates/PageTemplateFile.py Merged r68414 from 2.10 branch:

2006-05-31 Thread Florent Guillaume
Log message for revision 68415: Merged r68414 from 2.10 branch: There must be no warning when __name__ is supplied. Changed: U Zope/trunk/lib/python/Products/PageTemplates/PageTemplateFile.py -=- Modified: Zope/trunk/lib/python/Products/PageTemplates/PageTemplateFile.py

[Zope-dev] Re: SVN: Zope/branches/ajung-zpt-end-game/...

2006-05-31 Thread Florent Guillaume
' super(ZopePathExpr, self).__init__(name, expr, engine, boboAwareZopeTraverse) Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope-dev] Re: SVN: Zope/branches/ajung-zpt-end-game/...

2006-05-31 Thread Florent Guillaume
are allowed and evaluate to None. Florent We should probably add a test which verifies compilability of empty expressions, plus whichever behavior we specify. -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope-dev] Zope 2.10 deprecation warnings

2006-05-31 Thread Florent Guillaume
) but TextIndex is deprecated. Also I've checked in a fix for the ZPT warnings such as: Init Ambiguous name for method of Products.PageTemplates.ZopePageTemplate.ZopePageTemplate: 'manage' != 'manage_main' Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59

[Zope] Re: ftp server deadlocking zope with DeadlockDebugger

2006-05-07 Thread Florent Guillaume
://mail.zope.org/mailman/listinfo/zope-dev ) -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

[Zope-dev] Re: request.debug needed for Zope 3 ZPT engine

2006-04-29 Thread Florent Guillaume
that the zope 2 core is not cleaned of it (I'm sure -- though I haven't looked), it would mean total deprecation wouldn't be done before 1.5 years anyway... Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope-dev] Re: SVN: Zope/branches/easter-sprint_traversal-refactor/lib/python/ZPublisher/BaseRequest.py Now using an adapter. Two tests fail in Five, and I don't know why.

2006-04-29 Thread Florent Guillaume
-- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

[Zope-dev] Re: Zope 2.10: Remaining tasks

2006-04-29 Thread Florent Guillaume
will be available in the next few day (around wednesday?) to check that in. It could even be seen as a bugfix, really. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev

[Zope-dev] Re: favicon.ico for 2.10?

2006-04-24 Thread Florent Guillaume
be surprised if a .gif didn't work. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev

[Zope-dev] Re: Reminder: Feature Freeze May 1

2006-04-24 Thread Florent Guillaume
release when it is checked into the trunk. What's the ETA for merging the various branches? Yours in Z3, Phil's in Z2, maybe Five... ? I'd rather have them sooner than later. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL

[Zope] Re: zope unresponsive

2006-04-24 Thread Florent Guillaume
/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope-dev] Re: [ANN] pythonproducts 1.0beta1 released

2006-04-23 Thread Florent Guillaume
BSD-style, see LICENSE.txt for details Source Control http://codespeak.net/svn/z3/pythonproducts/ Requirements - Python 2.3.5 or higher in 2.3.x series - Zope 2.8 or 2.9 - Five 1.2 or higher -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com

[Zope-dev] Re: Traversal issue which affects Five

2006-04-17 Thread Florent Guillaume
://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 ) -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com

[Zope-dev] z3 server+publication refactor for z2

2006-04-13 Thread Florent Guillaume
server.) Thanks, Florent PS: what do people think of changing ZEO so that it integrates with Twisted properly instead of relying on a private event loop hack [please move to zodb-dev if you answer this] -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http

[Zope-dev] Re: [Checkins] SVN: Zope/trunk/ Fixed collector 2057: Testing.makequest broke getPhysicalPath()

2006-04-07 Thread Florent Guillaume
have to define a fake root object whose getPhysicalPath returns ('',). It's only a few line, and makes my tests self-contained and much easier to understand than relying on the magic of a testing framework library (which I tend to hate). Florent -- Florent Guillaume, Nuxeo (Paris, France

[Zope-dev] Re: TCP CLOSE_WAIT leaks

2006-03-30 Thread Florent Guillaume
-- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] Re: SVN: Zope/trunk/lib/python/OFS/Traversable.py using startswith()

2006-02-28 Thread Florent Guillaume
-if name[0] == '_': +if name.startswith('_'): # Never allowed in a URL. raise NotFound, name -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope] Re: CMFExternalFile and huge ZODB pickles

2006-02-22 Thread Florent Guillaume
in recent Zopes though, I doubt 2.7 has that detail. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Florent Guillaume
-- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

[Zope] Re: Method to return the properties of an object

2006-02-14 Thread Florent Guillaume
- http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope

[Zope] Re: restricting permissions for direct access only

2006-02-14 Thread Florent Guillaume
works, or is supposed to work, in Zope, or that if this is something I need to do I am designing my site incorrectly from the point of view of Zope security (and if so, what is the correct way to design it?). Thanks!! Mike -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71

[Zope-dev] Re: Inhibit URL-traversal

2006-02-13 Thread Florent Guillaume
optional argument, and if it's not None then you were called through an URL. In that case you can redirect or raise a Unauthorized or NotFound or whatever. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope-dev] Re: Python warnings behavior and stacklevel=2

2006-02-13 Thread Florent Guillaume
, in warn_explicit TypeError: unsubscriptable object I've had this too, and I believe it appears if you have a frame referencing a python script (or maybe an external method) in the stack. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL

[Zope] Re: raw trace log format

2006-02-03 Thread Florent Guillaume
for reporting against that log file. -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Re: ZEO disconnects, Zope auto restarts (via zopectl)

2006-02-03 Thread Florent Guillaume
between ZEO server and Zope should be totally stable. I'd investigate network or firewall problems, and I'd start by using a network trace to find out what's happening at the TCP and IP levels. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http

[Zope] Re: Product refreshing in Zope 2.9

2006-01-31 Thread Florent Guillaume
and doctests about code they've not yet written. In most cases when I develop, I don't go to the ZMI until quite late in the process. Going to the ZMI is not productive. That's why I, like others in this thread, don't care about refresh. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO

[Zope] Re: Product refreshing in Zope 2.9

2006-01-31 Thread Florent Guillaume
the server causing downtime and lost sessions. Then use ZEO. And on a development server you can have the sessions in a shared ZEO filestorage. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[Zope] Re: zserver-threads

2006-01-31 Thread Florent Guillaume
= n/2+0.5 - Case 2: 4((n/2)(n/2+1)/2)/n = n/2+1 Which are equivalent to n/2 when n grows. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org

[Zope] Re: Security class attribute

2006-01-27 Thread Florent Guillaume
, at a time where metaclasses didn't exist. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope] Re: Class instances changing address?

2006-01-20 Thread Florent Guillaume
class to refer to a persistent instance unless it knows that they can be thread-specific. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope

[Zope-dev] Re: Deprecation process issues

2006-01-17 Thread Florent Guillaume
are addressed. -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/ZClasses/ZClass.txt Fix temp_folder mounting problem.

2006-01-16 Thread Florent Guillaume
Log message for revision 41327: Fix temp_folder mounting problem. Othere tests don't pass though, maybe I think due to __implemented__ and __provides__ attributes in the persistentclass state. Changed: U Zope/branches/2.9/lib/python/ZClasses/ZClass.txt -=- Modified:

[Zope-dev] Re: Zope tests: 6 OK, 2 Failed

2006-01-16 Thread Florent Guillaume
a dbtab. See lib/python/App/config.py. Stefan On Jan 14, 2006, at 16:45, Florent Guillaume wrote: I'll look at it. Florent Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This failure is tie up with Florent's recent checkin: Log message for revision 41303: When a database

[Zope-dev] Re: Zope tests: 6 OK, 2 Failed

2006-01-14 Thread Florent Guillaume
2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004007.html -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Zope2/App/startup.py When a database is created by hand from a custom_zodb.py during

2006-01-13 Thread Florent Guillaume
Log message for revision 41303: When a database is created by hand from a custom_zodb.py during startup, we still want to put it in the dbtab multidatabases dict. This happens when unit tests call Zope2.startup(), because Testing has a specific custom_zodb.py loaded at startup that uses

[Zope-dev] Re: BTreeFolder2.objectIds() - accessing _tree.keys() slow

2006-01-12 Thread Florent Guillaume
the keys of a big BTree. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

  1   2   3   4   5   6   >