[Zope-dev] Python 2.3.2 and dir

2003-12-14 Thread Alan Milligan
Hi, I'm trying to upgrade my Zpydoc product to Python 2.3.2 from 2.1.3 and have come across a confusing situation in regard to the inspect.getmembers function. This function uses the builtin dir() function to get a list of an objects attributes. For Zope products, I am getting a situation

[Zope-dev] Re: Converting from old-style BTreess

2003-12-14 Thread Jim Fulton
Chris McDonough wrote: I think this problem is actually easier to solve in the common case than requring that people run a conversion script. The ZGlobals data structure is a cache, and can be blown away and recreated indiscriminately. It's recreated whenever a Product is added or removed, and

Re: [Zope-dev] Zope Head (2.8) breaks refresh

2003-12-14 Thread Jeremy Hylton
On Sun, 2003-12-14 at 16:53, Chris McDonough wrote: We still use ZODB 3.1 and at least there, the cache verification protocol seems quite stupid. We will soon switch to ZODB 3.2 and when cache validation still needs minutes, I will need to look into this... Apparently, the ZEO in 2.7

[Zope-dev] Re: Converting from old-style BTreess

2003-12-14 Thread Chris McDonough
On Sun, 2003-12-14 at 22:08, Jim Fulton wrote: Chris McDonough wrote: I think this problem is actually easier to solve in the common case than requring that people run a conversion script. The ZGlobals data structure is a cache, and can be blown away and recreated indiscriminately. It's

Re: [Zope-dev] Re: Converting from old-style BTreess

2003-12-14 Thread Chris McDonough
On Sun, 2003-12-14 at 23:02, Chris McDonough wrote: Here's an idea: create a simple script that manufactured a module which set up the Zope configuration, filled in for BTree in sys.modules, and got a hold of Zope.app(), causing ZGlobals to be replaced by a new-style BTree due to the above