From: Raymond Hettinger Date: Sun, 5 Sep 2010 08:54:32 +0000 (+0000) Subject: Fill-in sqlite3 stubs X-Git-Tag: v3.2a2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d881f31693f8fa84fe0ae098dda4cc8eae54133c;p=python Fill-in sqlite3 stubs --- diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 9132d86690..21b2b75719 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -305,16 +305,17 @@ New, Improved, and Deprecated Modules (Added by Antoine Pitrou; :issue:`8524`.) -* The :mod:`sqlite3` module has some new features: +* The :mod:`sqlite3` module has two new capabilities. - * XXX *enable_load_extension* + The :attr:`Connection.in_transit` attribute is true if there is an + active transaction for uncommitted changes. - * XXX *load_extension* + The :meth:`Connection.enable_load_extension` and + :meth:`Connection.load_extension` methods allows you to load SQLite extensions + from ".so" files. One well-known extension is the fulltext-search extension + distributed with SQLite. - * New :class:`~sqlite3.Connection` attribute - :attr:`~sqlite3.Connection.in_transaction` is :const:`True` when there - are uncommitted changes, and :const:`False` otherwise. (Contributed - by R. David Murray and Shashwat Anand, :issue:`8845`.) + (Contributed by R. David Murray and Shashwat Anand, :issue:`8845`.) * The :mod:`ssl` module has a new class, :class:`~ssl.SSLContext` which serves as a container for various persistent SSL data, such as protocol