[Python-checkins] cpython: whatsnew: sqlite3 uri parm, unittest.main defaultTest, ftplib.Netrc deprecation

r.david.murray python-checkins at python.org
Thu Jan 2 19:44:55 CET 2014


http://hg.python.org/cpython/rev/04af288c004c
changeset:   88262:04af288c004c
user:        R David Murray <rdmurray at bitdance.com>
date:        Thu Jan 02 13:44:18 2014 -0500
summary:
  whatsnew: sqlite3 uri parm, unittest.main defaultTest, ftplib.Netrc deprecation

files:
  Doc/whatsnew/3.4.rst |  17 +++++++++++++++++
  Misc/NEWS            |   2 +-
  2 files changed, 18 insertions(+), 1 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -915,6 +915,15 @@
 during debugging, instead of integer "magic numbers".
 
 
+sqlite3
+-------
+
+A new boolean parameter, *uri*, to the :func:`~sqlite3.connect` function can
+be used to indicate that the *database* parameter is a ``uri`` (see
+the `SQLite URI documentation <http://www.sqlite.org/uri.html>`_).
+(Contributed by poq in :issue:`13773`.)
+
+
 ssl
 ---
 
@@ -998,6 +1007,10 @@
 :meth:`~unittest.TestCase.subTest` context manager.
 (Contributed by Antoine Pitrou in :issue:`16997`.)
 
+:func:`unittest.main` now also accepts an iterable of test names for
+*defaultTest*, where previously it only accepted a single test name as a
+string.  (Contributed by Jyrki Pulliainen in :issue:`15132`.)
+
 
 venv
 ----
@@ -1246,6 +1259,10 @@
 * MD5 as default digestmod for :mod:`hmac` is deprecated. Python 3.6 will
   require an explicit digest name or constructor as *digestmod* argument.
 
+* The internal ``Netrc`` class in the :mod:`ftplib` module has been documented
+  as deprecated in its docstring for quite some time.  It now emits a
+  :exc:`DeprecationWarning` and will be removed completely in Python 3.5.
+
 
 Deprecated Functions and Types in the C API
 -------------------------------------------
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2439,7 +2439,7 @@
 
 - Issue #4591: Uid and gid values larger than 2**31 are supported now.
 
-- Issue #17141: random.vonmisesvariate() no more hangs for large kappas.
+- Issue #17141: random.vonmisesvariate() no longer hangs for large kappas.
 
 - Issue #17149: Fix random.vonmisesvariate to always return results in
   [0, 2*math.pi].

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list