﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
7874	Transactions should support the context handler interface	Kenneth Arnold	nobody	"(Low-priority, post-1.0)

Python 2.5 (really 2.6) introduces a {{{with}}} statement (http://www.python.org/dev/peps/pep-0343/).

It would be nice for transactions to support that, so a casual transaction use doesn't require creating a ""dummy"" function just to wrap it with a decorator.

This can be done entirely backwards-compatibly by adding {{{__enter__}}} and {{{__exit__}}} functions."	New feature	closed	Database layer (models, ORM)	dev	Normal	fixed		kenneth.arnold@…	Design decision needed	0	0	0	0	0	0
