From ec34b9bed6e9b1d3f3638165fb74e801b37bede0 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 4 Dec 2012 00:26:48 +0000 Subject: [PATCH] Mention context managers in NEWS file --- NEWS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NEWS b/NEWS index 8f4f258c..6ceb6fb5 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,8 @@ What's new in psycopg 2.5 - Added JSON adaptation. - Added support for PostgreSQL 9.2 range types. + - 'connection' and 'cursor' objects can be used in 'with' statements + as context managers as specified by recent DBAPI extension. - Added support for backward scrollable cursors. Thanks to Jon Nelson for the initial patch (ticket #108). - Added a simple way to customize casting of composite types into Python