From bc6a2ed69db7af87c70cb3d995dd91b45924d263 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Wed, 25 Feb 2015 11:41:36 +0900 Subject: [PATCH] Update HISTORY --- HISTORY | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/HISTORY b/HISTORY index a2177e7..58ff35e 100644 --- a/HISTORY +++ b/HISTORY @@ -1,3 +1,21 @@ +===================== + What's new in 1.3.6 +===================== + +Fix escape_string() doesn't work. + +Remove `Cursor.__del__` to fix uncollectable circular reference on Python 3.3. + +Add context manager support to `Cursor`. It automatically closes cursor on `__exit__`. + +.. code-block:: + + with conn.cursor() as cur: + cur.execute("SELECT 1+1") + print(cur.fetchone()) + # cur is now closed + + ===================== What's new in 1.3.5 =====================