__no_side_effects__, was Re: [ZODB-Dev] Re: [Zodb-checkins] SVN: ZODB/branches/3.4/

Paul Winkler pw_lists at slinkp.com
Fri Apr 15 10:35:27 EDT 2005


On Thu, Apr 14, 2005 at 10:56:16PM -0400, Tim Peters wrote:
(snip)
> ...  I'd
> reserve intense dislike for, e.g., __no_side_effects__ (remember that one?).

Yes, I found it recently when I fixed a bug in ZopeUndo/Prefix.py.
Does anything actually rely on that attribute, and what for?
The only check for it that I've found is in ZEO/zrpc/marshal.py,
in find_global(), and it's not obvious why that function should rely
on a double-underscore attribute.
 
-- 

Paul Winkler
http://www.slinkp.com


More information about the ZODB-Dev mailing list