Re: [Zope-dev] ZPatterns alpha 3 released (was re: ZPatterns0.4.0a2 bug fixes)

2000-06-20 Thread Phillip J. Eby

At 10:25 PM 6/20/00 +0800, mike wrote:
"Phillip J. Eby" wrote:
 

 Huh?  Oh, %#()@%...  I fixed that in my working copy, but didn't check it
 into CVS before building a release .tgz yesterday...   Argh.  Line 137 of
 DataSkins.py *should* read:
 
 if self._v_status_ is not ChangedStatus:
 
 Sorry, everyone.  I've checked in this fix, along with the one for Mike's
 "missing _v_dm_" problem, and uploaded an alpha3 release.
 

Thank you, Phillip. I've spent all the evening hunting these bugs.
By the way, how do you debug? Is there better way than inserting things
like

   print "objectChanging %s, has status=%d" % (
   self, self.__dict__.has_key('_v_status_')
   )


I haven't found one yet.  I'm actually using zLOG.LOG calls, however, to a
logfile, so I can look back at things easily (and because I didn't realize
you could use print until you posted this...  :) ).


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] ZPatterns alpha 3 released (was re: ZPatterns0.4.0a2 bug fixes)

2000-06-20 Thread Phillip J. Eby

At 05:49 PM 6/20/00 +0300, Itamar Shtull-Trauring wrote:
 Huh?  Oh, %#()@%...  I fixed that in my working copy, but didn't check it
 into CVS before building a release .tgz yesterday...   Argh.  Line 137 of
 DataSkins.py *should* read:

Great, it works!


Tell me, were you able to use GenericTrigger(s) to do the cataloging?  It
might be more convenient to update/modify than your cataloging-specific
Agent class.  Also, I noticed that your getMemento routine saves the
object's __dict__, but that's of absolutely no value whatsoever, since the
__dict__ is a mutable object and will thus have been changed by the time
you get the commit-time messages.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )