diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-08-21 20:09:27 (GMT) |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-08-21 20:09:27 (GMT) |
commit | c758d51aa8654cb651a783e0d5df9e59ee4e7589 (patch) | |
tree | d063b6377c0b42c2b0a1f1c6d8e4d99d9d4b6e56 /Doc/whatsnew | |
parent | 201c328524a3353b1df5cbd44275a34896159a64 (diff) | |
download | cpython-c758d51aa8654cb651a783e0d5df9e59ee4e7589.zip cpython-c758d51aa8654cb651a783e0d5df9e59ee4e7589.tar.gz cpython-c758d51aa8654cb651a783e0d5df9e59ee4e7589.tar.bz2 |
Issue #27819: Add more detail in What's New in 3.6.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 49e8ed8..28f9d9f 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -306,6 +306,16 @@ directives ``%G``, ``%u`` and ``%V``. (Contributed by Ashley Anderson in :issue:`12006`.) +distutils.command.sdist +----------------------- + +The ``default_format`` attribute has been removed from +:class:`distutils.command.sdist.sdist` and the ``formats`` +attribute defaults to ``['gztar']``. Although not anticipated, +Any code relying on the presence of ``default_format`` may +need to be adapted. See :issue:`27819` for more details. + + faulthandler ------------ @@ -821,6 +831,19 @@ Changes in the Python API accepting additional keyword arguments will need to adjust their calls to :meth:`type.__new__` (whether direct or via :class:`super`) accordingly. +* In :class:`distutils.command.sdist.sdist`, the ``default_format`` + attribute has been removed and is no longer honored. Instead, the + gzipped tarfile format is the default on all platforms and no + platform-specific selection is made. + In environments where distributions are + built on Windows and zip distributions are required, configure + the project with a ``setup.cfg`` file containing the following:: + + [sdist] + formats=zip + + This behavior has also been backported to earlier Python versions + by Setuptools 26.0.0. Changes in the C API -------------------- |