Re: [Zope-dev] Verbose security for Zope 2.8 or 2.9

2005-06-16 Thread Florent Guillaume
Shane Hathaway  [EMAIL PROTECTED] wrote:
 Florent Guillaume wrote:
  What is the dependency on the python implementation, is it just
  _embed_permission_in_roles ? Didn't you succeed in patching the C
  version too in some earlier versions of VerboseSecurity ?
 
 Currently, the C code makes no attempt to raise verbose errors.  I've
 never patched the C code, although I doubt it would be very difficult.
 (Perhaps you're referring to previous monkey patches that replaced a
 method implemented in C with a Python version.)

Yes that must have been that.

Florent

 Anyone familiar with the security machinery is welcome to give it a
 shot. :-)

-- 
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!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] BTree vs dictionary

2005-06-16 Thread Yair Benita
Now that I know how to use BTrees I grew fond of it and the features it
offers.

While the advantages of using BTrees are obvious when using it in a database
context, I was wondering if it makes sense to use it instead of a dictionary
routinely, just so I can take advantage of commands such as t(min=1, max=4).

As I have no idea about the code that make the BTree tick, I was wondering:
does anybody advise against it? Should I be extra careful about some things?


Thanks for the help,
Yair
-- 
Yair Benita
Utrecht University
The Netherlands



___
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] BTree vs dictionary

2005-06-16 Thread Andreas Jung



--On 16. Juni 2005 17:32:15 +0200 Yair Benita [EMAIL PROTECTED] wrote:


Now that I know how to use BTrees I grew fond of it and the features it
offers.

While the advantages of using BTrees are obvious when using it in a
database context, I was wondering if it makes sense to use it instead of
a dictionary routinely, just so I can take advantage of commands such as
t(min=1, max=4).


If you need BTree features then use BTrees. If you don't need any of them 
better use dictionaries. Dicts are somehwat faster than BTrees but BTrees 
should be used in any way when working with the ZODB.


-aj



pgpAgIHIR2IsH.pgp
Description: PGP signature
___
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] BTree vs dictionary

2005-06-16 Thread Tim Peters
[Yair Benita]
 Now that I know how to use BTrees I grew fond of it and the features it
 offers.

Yup, they're very cool.

 While the advantages of using BTrees are obvious when using it in a database
 context, I was wondering if it makes sense to use it instead of a dictionary
 routinely, just so I can take advantage of commands such as t(min=1, max=4).

 As I have no idea about the code that make the BTree tick, I was wondering:
 does anybody advise against it? Should I be extra careful about some things?

They're generally slower than dicts.  Other than that, there are
gotchas (surprises, pitfalls) in using BTrees, and in using dicts,
but they're generally different gotchas.  See the section on BTrees in
the ZODB Programming Guide for some hideous details, section 5.3:

http://www.zope.org/Wikis/ZODB/FrontPage/guide/index.html
___
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 )


[Zope-dev] Nuxeo supports Zope Corp announces

2005-06-16 Thread Eric Barroca

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,


Following the announces from Zope Corporation yesterday about their  
willingness to create a Zope Foundation (that would manage  
independently Zope 2 and Zope 3 projects) and to participate actively  
in the Z3ECM project, I would like to express briefly Nuxeo's  
position about all the news.


First, we would like to thank Zope Corporation for Zope 2 and Zope 3  
as Open Source software, they are amazing products !


For us as far as we know, the Zope Foundation is a really great news.  
This will probably solve the main issues we heard from people in the  
community and from some customers (brand and copyright security).  
It's really great news that Zope Corporation is now ready to go  
further on the community way and involvement. We are ready to help as  
much as needed in establishing the ZF as a vendor-neutral  
organisation with the mission to develop and promote a great  
technology (like the Apache or Eclipse Foundations).
The Zope Foundation will, IOHO, a big step towards project 10X to  
establish Zope as a leading development platform for all kinds of web  
and internet applications.


On the Z3ECM project, we are very glad that Zope Corporation wants to  
actively join the project !
We are certain that having ZC resources on this project will clearly  
help to build better products and solidify the platform.


We will also support the move of the Z3ECM project to the ZF when the  
issues of copyright ownership will be discussed with the project  
stakeholders. It could definitely help unifying CMS zope community  
and will give more credibility to the platform from a customer point  
of view.


We will also support the move of the Z3ECM project to the ZF when the  
issues of copyright ownership will be discussed with the project  
stakeholders


In short, we are really happy and excited, and will definitely  
supports ZC to move forward on these topics with the other members of  
the Zope community.


I'm pretty confident that the whole community will support this as well.


Best regards,

EB.

- - --
ric Barroca, Tel: +33 6 21 74 77 64 (mobile).
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de contenu web / portail collaboratif / groupware / open source!
www.nuxeo.com - www.cps-project.org - www.indesko.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iEYEARECAAYFAkKxrw4ACgkQz/zbrAllSZ5JPwCdF2kqwrOI4VvjltxaceblHypf
vFgAnjuFiQj7qxA09GTmbr68Ntp7VNJq
=IJAS
-END PGP SIGNATURE-
___
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 )


[Zope-dev] Re: [Z3lab] Nuxeo supports Zope Corp announces

2005-06-16 Thread Jean-Marc Orliaguet
Eric Barroca wrote:

 Hello,


 Following the announces from Zope Corporation yesterday about their 
 willingness to create a Zope Foundation (that would manage 
 independently Zope 2 and Zope 3 projects) and to participate actively 
 in the Z3ECM project, I would like to express briefly Nuxeo's 
 position about all the news.

 First, we would like to thank Zope Corporation for Zope 2 and Zope 3 
 as Open Source software, they are amazing products !

 For us as far as we know, the Zope Foundation is a really great news. 
 This will probably solve the main issues we heard from people in the 
 community and from some customers (brand and copyright security). 
 It's really great news that Zope Corporation is now ready to go 
 further on the community way and involvement. We are ready to help as 
 much as needed in establishing the ZF as a vendor-neutral 
 organisation with the mission to develop and promote a great 
 technology (like the Apache or Eclipse Foundations).
 The Zope Foundation will, IOHO, a big step towards project 10X to 
 establish Zope as a leading development platform for all kinds of web 
 and internet applications.

 On the Z3ECM project, we are very glad that Zope Corporation wants to 
 actively join the project !
 We are certain that having ZC resources on this project will clearly 
 help to build better products and solidify the platform.

 We will also support the move of the Z3ECM project to the ZF when the 
 issues of copyright ownership will be discussed with the project 
 stakeholders. It could definitely help unifying CMS zope community 
 and will give more credibility to the platform from a customer point 
 of view.

 We will also support the move of the Z3ECM project to the ZF when the 
 issues of copyright ownership will be discussed with the project 
 stakeholders

 In short, we are really happy and excited, and will definitely 
 supports ZC to move forward on these topics with the other members of 
 the Zope community.

 I'm pretty confident that the whole community will support this as well.


 Best regards,

 EB.

 --
 ric Barroca, Tel: +33 6 21 74 77 64 (mobile).
 Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
 Gestion de contenu web / portail collaboratif / groupware / open source!
 www.nuxeo.com - www.cps-project.org - www.indesko.com


Hi!

This is really great news!

I am going to start working at getting Chalmers to be one of the key
players in the foundation which would make the foundation even more
vendor-neutral. I am confident that this will go through.

regards /JM

___
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 )