[Zope-dev] Re: Is there a function to get the object type?

2006-04-18 Thread suresh
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: On 4/11/06, Takahashi, Michael <[EMAIL PROTECTED]> wrote: I'm trying to write a function that checks to see if the current object is a 'Folder'. several ways: isinstance(object, Folder) # does not

Re: [Zope-dev] cvs.zope.org/Products -> svn.zope.org?

2006-04-18 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18 Apr 2006, at 08:30, Andreas Jung wrote: --On 17. April 2006 16:25:10 +0200 Jens Vagelpohl <[EMAIL PROTECTED]> wrote: Wouldn't it make sense to migrate the complete Products hierarchy from cvs.zope.org to svn.zope.org? - -1 on migrating

Re: [Zope-dev] Re: 64-bit BTrees

2006-04-18 Thread Chris Withers
Philipp von Weitershausen wrote: in memory. Dieter estimates 20% to 35% slowdown for the C algorithms (whatever that means), Tim seems to think it won't have such a big effect. I guess we'll only know after some benchmarks. Can we please not make any definite decisions until this issue has been

Re: [Zope-dev] Re: 64-bit BTrees

2006-04-18 Thread Philipp von Weitershausen
Chris Withers wrote: > Philipp von Weitershausen wrote: >> in memory. Dieter estimates 20% to 35% slowdown for the C algorithms >> (whatever that means), Tim seems to think it won't have such a big >> effect. I guess we'll only know after some benchmarks. > > Can we please not make any definite de

[Zope-dev] Re: cvs.zope.org/Products -> svn.zope.org?

2006-04-18 Thread Rocky Burt
As a Plone developer my favourite two products I'd like to see moved would be: 1) ExternalEditor 2) Basket 'course I've had the discussion with chrism in the past about moving Basket over... Chris, what do you think? - Rocky On Tue, 2006-18-04 at 09:35 +0200, Jens Vagelpohl wrote: > -B

[Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Morten W. Petersen
Hi, I have a problem with a Zope that hangs eating up 99.9% of the CPU. I've tried to debug the problem by using DeadlockDebugger but that doesn't even return when accessing it. I guess the next step is to use pdb og gdb - are there perhaps any documents out there describing the process? TIA, M

Re: [Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Stefan H. Holek
http://www.zope.org/Members/4am/debugspinningzope On 18. Apr 2006, at 16:45, Morten W. Petersen wrote: Hi, I have a problem with a Zope that hangs eating up 99.9% of the CPU. I've tried to debug the problem by using DeadlockDebugger but that doesn't even return when accessing it. I guess the

Re: [Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Dieter Maurer
Morten W. Petersen wrote at 2006-4-18 16:45 +0200: >I guess the next step is to use pdb og gdb - are there perhaps any >documents out there describing the process? You use your favorite search engine and search for "Zope spinning debug". -- Dieter ___

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

2006-04-18 Thread Dieter Maurer
Alec Mitchell wrote at 2006-4-17 14:53 -0700: > ... >Yes, it does sound like a better solution. However, the issue I see >with it is that it is essentially adding new functionality, rather >than fixing a problem with the existing behavior. That would seem to >make it a much less likely candidate

Re: [Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Morten W. Petersen
Dieter Maurer wrote: > Morten W. Petersen wrote at 2006-4-18 16:45 +0200: >> I guess the next step is to use pdb og gdb - are there perhaps any >> documents out there describing the process? > > You use your favorite search engine and search for "Zope spinning debug". Yep. ;) -Morten __

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

2006-04-18 Thread Andreas Jung
--On 18. April 2006 18:52:10 +0200 Dieter Maurer <[EMAIL PROTECTED]> wrote: Alec Mitchell wrote at 2006-4-17 14:53 -0700: ... Yes, it does sound like a better solution. However, the issue I see with it is that it is essentially adding new functionality, rather than fixing a problem with th

Re: [Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Wichert Akkerman
Previously Stefan H. Holek wrote: > http://www.zope.org/Members/4am/debugspinningzope And now for windows... :) Wichert. > On 18. Apr 2006, at 16:45, Morten W. Petersen wrote: > > >Hi, > > > >I have a problem with a Zope that hangs eating up 99.9% of the CPU. > >I've tried to debug the problem

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

2006-04-18 Thread Lennart Regebro
FYI there was a couple of hours work done on this today at the sprint in Paris. It seemed to us the the next necessary step in Sidneis branch was to make Zope2 traversal adapters for non-zope3 objects. This work has now started, in the form of refactoring the BaseRequest traversal into Zope3 type