8 Oct
1999
8 Oct
'99
5:27 p.m.
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!