]> granicus.if.org Git - python/commitdiff
Issue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 1 Sep 2016 19:21:05 +0000 (22:21 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 1 Sep 2016 19:21:05 +0000 (22:21 +0300)
Based on patch by Xiang Zhang.

1  2 
Misc/NEWS
Modules/_sqlite/connection.c

diff --cc Misc/NEWS
index c6d2bafb25592b7d9fc4cae865636c54e22f66a7,649a440777be4ff7771942b3a29dba04c3de45fc..4f66ee222b0f85955b12d89b7f4c87dc284ce615
+++ b/Misc/NEWS
@@@ -57,19 -26,33 +57,22 @@@ Core and Builtin
    In a brand new thread, raise a RuntimeError since there is no active
    exception to reraise. Patch written by Xiang Zhang.
  
 -- Issue #27419: Standard __import__() no longer look up "__import__" in globals
 -  or builtins for importing submodules or "from import".  Fixed handling an
 -  error of non-string package name.
 -
 -- Issue #27083: Respect the PYTHONCASEOK environment variable under Windows.
 -
 -- Issue #27514: Make having too many statically nested blocks a SyntaxError
 -  instead of SystemError.
 -
 -- Issue #27473: Fixed possible integer overflow in bytes and bytearray
 -  concatenations.  Patch by Xiang Zhang.
 -
 -- Issue #27507: Add integer overflow check in bytearray.extend().  Patch by
 -  Xiang Zhang.
 +Library
 +-------
  
 -- Issue #27581: Don't rely on wrapping for overflow check in
 -  PySequence_Tuple().  Patch by Xiang Zhang.
 +- Issue #27919: Deprecated ``extra_path`` distribution option in distutils
 +  packaging.
  
 -- Issue #27443: __length_hint__() of bytearray iterators no longer return a
 -  negative integer for a resized bytearray.
 +- Issue #23229: Add new ``cmath`` constants: ``cmath.inf`` and ``cmath.nan`` to
 +  match ``math.inf`` and ``math.nan``, and also ``cmath.infj`` and
 +  ``cmath.nanj`` to match the format used by complex repr.
  
 -Library
 --------
 +- Issue #27842: The csv.DictReader now returns rows of type OrderedDict.
 +  (Contributed by Steve Holden.)
  
+ - Issue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
+   Based on patch by Xiang Zhang.
  - Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
    creates not a cursor.  Patch by Xiang Zhang.
  
Simple merge