what does transaction.abort() refresh?
"Boylan, Ross" <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <[email protected]> |
My mental model, perhaps from Gemstone, is that if I do x1 = conn.root.x # stuff # another thread changes what's in root.x transaction.abort() that x1 will now have the value of root.x from the other thread. But when I do this, x1 seems to be unchanged; I have to go back through conn.root.x to get the new version of the object. Is my revised understanding correct? Using ZODB 5, python 3.4. Thanks. Ross Boylan -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.