Changes between Version 25 and Version 26 of TracDev/DatabaseApi
- Timestamp:
- Jun 19, 2012, 10:51:27 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/DatabaseApi
v25 v26 87 87 ''Note:'' Uncommited changes of a transaction are only visible to nested transactions in the same thread. Different threads use different database connections and therefore different transactions. 88 88 89 === Trac 0.13 API89 === Trac 0.13dev and 1.0 API #Trac0.13API 90 90 91 91 As we dropped support for Python 2.4, we could simplify the code a bit more by using the `with` keyword and context managers: