Okay, this is a great and meaty example, thanks Barry. It's the first one that I've seen that is clearly not a purely declarative thing at least in the abstract. What would the proposed decorator version of this look like? On Jun 28, 2004, at 12:19 PM, Barry Warsaw wrote: > Here's a pointer to some of the code: > > http://cvs.sourceforge.net/viewcvs.py/mailman/mailman3/src/mailman/ > berkeleydb/bdblist.py?rev=3.2&view=auto > > The txnprop() descriptor guarantees that self.txn is bound to a > transaction inside the method call. > > -Barry >
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4