|
Original |
Translation |
|
2909
|
XXX *enable_load_extension*
|
|
|
2910
|
|
|
|
2911
|
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`.)
|
|
|
2912
|
|
|
|
2913
|
|
2914
|
Additional details about the implementation can be read from a `python-dev mailing-list message <http://mail.python.org/pipermail/python-dev/2009-October/093321.html>`_ (however, "priority requests" as exposed in this message have not been kept for inclusion).
|
|
|
2915
|
Recursive locks (created with the :func:`threading.RLock` API) now benefit from a C implementation which makes them as fast as regular locks, and between 10x and 15x faster than their previous pure Python implementation.
|
|
|
2916
|
(Contributed by Antoine Pitrou; :issue:`3001`.)
|
|
|
2917
|
Regular and recursive locks now accept an optional *timeout* argument to their ``acquire`` method. (Contributed by Antoine Pitrou; :issue:`7316`) Similarly, :meth:`threading.Semaphore.acquire` also gains a *timeout* argument. (Contributed by Torsten Landschoff; :issue:`850728`.)
|
|
|
2918
|
|
|