-----Original Message----- From: Evan Simpson [mailto:evan@4-am.com] Sent: Thursday, October 07, 1999 6:10 PM To: mats@launchnet.com Cc: zope@zope.org Subject: [Zope] PythonMethods 0.1.3
Bugfix release 0.1.3 of PythonMethods fixes the 'self parameter' bug.
Now available at http://zope.org/Members/4am/PythonMethod
BTW Evan, PythonMethods apear to cause a transaction to commit when you call them. This is because there is a 'self.attr = value' type assignment in the call path. If it's necesarry, that's cool, it's pretty low overhead. If it's not necesary it would be faster to not change the method object itself so that a transaction doesn't occour each time the method is called. -Michel
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(Related lists - please, no cross posts or HTML encoding!
To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
Bugfix release 0.1.4 of PythonMethods shouldn't do this any more. Now available at http://zope.org/Members/4am/PythonMethod Michel Pelletier wrote:
BTW Evan, PythonMethods apear to cause a transaction to commit when you call them. This is because there is a 'self.attr = value' type assignment in the call path. If it's necesarry, that's cool, it's pretty low overhead. If it's not necesary it would be faster to not change the method object itself so that a transaction doesn't occour each time the method is called.
Thanks for the alert!
participants (2)
-
Evan Simpson -
Michel Pelletier