[DB-SIG] Use of context managers with DB API 2
daniele.varrazzo at gmail.com
Mon Dec 3 02:42:25 CET 2012
On Mon, Nov 5, 2012 at 9:28 AM, M.-A. Lemburg <mal at egenix.com> wrote:
> On 04.11.2012 23:24, Christoph Zwerschke wrote:
>> To wrap everything up, as a result of our discussion, I will do the following in the next version of
>> * make connections context managers for transactions
>> (may not be the optimal solution, but it's already established)
>> * make cursors self-closing context managers (evident)
>> * not implement shortcut functions (see above)
>> Is everybody happy with that?
> Sounds good :-)
Is there a final wording for the context managers in the dbapi?
More information about the DB-SIG