Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 765e94f

Browse files
committed
Add NEWS and whatsnew entries for the packaging module
1 parent 3ca4db8 commit 765e94f

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

Doc/whatsnew/3.3.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@ os
129129
(Patch submitted by Giampaolo Rodolà in :issue:`10784`.)
130130

131131

132+
packaging
133+
---------
134+
135+
:mod:`distutils` has undergone additions and refactoring under a new name,
136+
:mod:`packaging`, to allow developers to break backward compatibility.
137+
:mod:`distutils` is still provided in the standard library, but users are
138+
encouraged to transition to :mod:`packaging`. For older versions of Python, a
139+
backport compatible with 2.4+ and 3.1+ will be made available on PyPI under the
140+
name :mod:`distutils2`.
141+
142+
.. TODO add examples and howto to the packaging docs and link to them
143+
144+
132145
pydoc
133146
-----
134147

Misc/NEWS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Core and Builtins
119119
- Issue #11320: fix bogus memory management in Modules/getpath.c, leading to
120120
a possible crash when calling Py_SetPath().
121121

122-
- _ast.__version__ is now a Mercurial integer and hex revision.
122+
- _ast.__version__ is now a Mercurial hex revision.
123123

124124
- Issue #11432: A bug was introduced in subprocess.Popen on posix systems with
125125
3.2.0 where the stdout or stderr file descriptor being the same as the stdin
@@ -260,6 +260,9 @@ Library
260260
- Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
261261
to be able to unload the module.
262262

263+
- Add the packaging module, an improved fork of distutils (also known as
264+
distutils2).
265+
263266
- Issue #12065: connect_ex() on an SSL socket now returns the original errno
264267
when the socket's timeout expires (it used to return None).
265268

0 commit comments

Comments
 (0)