diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-01-02 18:44:18 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-01-02 18:44:18 (GMT) |
commit | 9025f1c5c4435da265cbe1524d803d04d9f2c4d2 (patch) | |
tree | 83784bd8e896b6c221442d796a04c723c26eab70 /Doc/whatsnew | |
parent | 6e731b0a418784eba9065cddc2b0f665faff051c (diff) | |
download | cpython-9025f1c5c4435da265cbe1524d803d04d9f2c4d2.zip cpython-9025f1c5c4435da265cbe1524d803d04d9f2c4d2.tar.gz cpython-9025f1c5c4435da265cbe1524d803d04d9f2c4d2.tar.bz2 |
whatsnew: sqlite3 uri parm, unittest.main defaultTest, ftplib.Netrc deprecation
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index aa42ee3..fe19ae7 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -915,6 +915,15 @@ using the new :mod:`enum` module. This allows meaningful names to be printed 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 @@ Support for easy dynamically-generated subtests using the :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 @@ Deprecated Python Modules, Functions and Methods * 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 ------------------------------------------- |