[Python-checkins] cpython: Add NEWS and whatsnew entries for the packaging module

eric.araujo python-checkins at python.org
Fri Jun 3 17:28:48 CEST 2011


http://hg.python.org/cpython/rev/42a1da69de7c
changeset:   70614:42a1da69de7c
user:        Éric Araujo <merwok at netwok.org>
date:        Fri Jun 03 17:26:59 2011 +0200
summary:
  Add NEWS and whatsnew entries for the packaging module

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


diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -129,6 +129,19 @@
   (Patch submitted by Giampaolo Rodolà in :issue:`10784`.)
 
 
+packaging
+---------
+
+:mod:`distutils` has undergone additions and refactoring under a new name,
+:mod:`packaging`, to allow developers to break backward compatibility.
+:mod:`distutils` is still provided in the standard library, but users are
+encouraged to transition to :mod:`packaging`.  For older versions of Python, a
+backport compatible with 2.4+ and 3.1+ will be made available on PyPI under the
+name :mod:`distutils2`.
+
+.. TODO add examples and howto to the packaging docs and link to them
+
+
 pydoc
 -----
 
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -119,7 +119,7 @@
 - Issue #11320: fix bogus memory management in Modules/getpath.c, leading to
   a possible crash when calling Py_SetPath().
 
-- _ast.__version__ is now a Mercurial integer and hex revision.
+- _ast.__version__ is now a Mercurial hex revision.
 
 - Issue #11432: A bug was introduced in subprocess.Popen on posix systems with
   3.2.0 where the stdout or stderr file descriptor being the same as the stdin
@@ -260,6 +260,9 @@
 - Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
   to be able to unload the module.
 
+- Add the packaging module, an improved fork of distutils (also known as
+  distutils2).
+
 - Issue #12065: connect_ex() on an SSL socket now returns the original errno
   when the socket's timeout expires (it used to return None).
 

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


More information about the Python-checkins mailing list