Changes between Version 1 and Version 61 of Ticket #8751
- Timestamp:
- Feb 16, 2010, 11:27:21 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8751 – Description
v1 v61 7 7 The context managers and the `with` syntax introduced in Python 2.5 are ideally suited to handle such situations. As we still have to support Python 2.4, a slightly less optimal approach can nevertheless be work using a decorator. 8 8 9 The following mail has a proof of concept patch which is the result of some design discussion that happened on Trac-dev: googlegroups:trac-dev: http://groups.google.com/group/trac-dev/msg/c1f97c626f9720109 The following mail has a proof of concept patch which is the result of some design discussion that happened on Trac-dev: googlegroups:trac-dev:c1f97c626f972010 10 10 11 11 This ticket will be used to track the progresses of a refactoring branch where we'll generalize this approach: [source:sandbox/8751-with_transaction]