At 01:06 PM 6/23/00 +0800, mike wrote:
>
>There _IS_ a problem. Maybe _v_cachedAttr is not a guilty, but do you
>know it exists only in newly created objects and do _not_ exists in
>old?.
The attribute cache is created only when used in a transaction, so if you
retrieve a persistent object from a
"Phillip J. Eby" wrote:
> This is not a bug, it's a feature. :) If you look closely at the
> dictionary, you will see it contains empty lists for all these items.
> These empty lists are the DataSkins.NOT_FOUND singleton, which caches the
> nonexistence of these attributes. This is not a secur
At 11:11 PM 6/22/00 +0800, mike wrote:
>
>0025 'self'={'_v_attrCache': {'a_': [],
>'filtered_manage_optionsisDocTemp': [],
>'_Change_permissions_Permission': [], 'MANAGE_TABS_NO_BANNER': [],
>'im_func': [], '__allow_groups__': [], '_Manage_properties_Permission':
>[], 'tabs_path_infoisDocT
Well, it should be:
> ##
> # Add this to see what I mean
>
> try :
> print "%s 'self'=%s" % (
> key,
> slot.values()[0].__dict__
> )
> except :
>
Hi,
look, Phillip, what I found.
File Rack.py:
def retrieveItem(self,key):
# Retrieve an object, identified by key
a = self.loadAttrib
item = None
if a:
item = self._RawItem(key)
if hasattr(item,a):
return item