Re: [Python-Dev] [Python-checkins] cpython: whatsnew: move of reload, update new windows-only ssl functions entry.
On Sat, Feb 1, 2014 at 12:27 PM, r.david.murray <python-checkins@python.org>wrote:
http://hg.python.org/cpython/rev/b3f034f5000f changeset: 88884:b3f034f5000f parent: 88882:19d81cc213d7 user: R David Murray <rdmurray@bitdance.com> date: Sat Feb 01 12:27:07 2014 -0500 summary: whatsnew: move of reload, update new windows-only ssl functions entry.
files: Doc/whatsnew/3.4.rst | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 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 @@ -765,6 +765,10 @@ it will normally be desirable to override the default implementation for performance reasons. (Contributed by Brett Cannon in :issue:`18072`.)
+The :func:`~importlib.reload` function has been moved from :mod:`imp` +to :mod:`importlib`. The :func:`mod.reload` name is retained for +backward compatibility, but is deprecated. +
That wording seems confusing to me. It makes it seem like importlib.reload is deprecated when in fact it's the imp module itself. -Brett
inspect ------- @@ -1062,8 +1066,10 @@ list of the loaded ``CA`` certificates. (Contributed by Christian Heimes in and :issue:`18147`.)
-Add :func:`ssl.enum_cert_store` to retrieve certificates and CRL from Windows' -cert store. (Contributed by Christian Heimes in :issue:`17134`.) +Two new windows-only functions, :func:`~ssl.enum_certificates` and +:func:`~ssl.enum_crls` provide the ability to retrieve certificates, +certificate information, and CRLs from the Windows cert store. (Contributed +by Christian Heimes in :issue:`17134`.)
Support for server-side SNI using the new :meth:`ssl.SSLContext.set_servername_callback` method.
-- Repository URL: http://hg.python.org/cpython
_______________________________________________ Python-checkins mailing list Python-checkins@python.org https://mail.python.org/mailman/listinfo/python-checkins
On Sat, 01 Feb 2014 13:20:48 -0500, Brett Cannon <brett@python.org> wrote:
On Sat, Feb 1, 2014 at 12:27 PM, r.david.murray <python-checkins@python.org>wrote:
http://hg.python.org/cpython/rev/b3f034f5000f changeset: 88884:b3f034f5000f parent: 88882:19d81cc213d7 user: R David Murray <rdmurray@bitdance.com> date: Sat Feb 01 12:27:07 2014 -0500 summary: whatsnew: move of reload, update new windows-only ssl functions entry.
files: Doc/whatsnew/3.4.rst | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 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 @@ -765,6 +765,10 @@ it will normally be desirable to override the default implementation for performance reasons. (Contributed by Brett Cannon in :issue:`18072`.)
+The :func:`~importlib.reload` function has been moved from :mod:`imp` +to :mod:`importlib`. The :func:`mod.reload` name is retained for +backward compatibility, but is deprecated. +
That wording seems confusing to me. It makes it seem like importlib.reload is deprecated when in fact it's the imp module itself.
I committed that thinking I'd finished working on that entry, but I hadn't. The updated text reads: The reload() function has been moved from imp to importlib as part of the imp module deprecation. Is that clearer? --David
On Feb 2, 2014 1:08 PM, "R. David Murray" <rdmurray@bitdance.com> wrote:
On Sat, 01 Feb 2014 13:20:48 -0500, Brett Cannon <brett@python.org> wrote:
On Sat, Feb 1, 2014 at 12:27 PM, r.david.murray <python-checkins@python.org>wrote:
http://hg.python.org/cpython/rev/b3f034f5000f changeset: 88884:b3f034f5000f parent: 88882:19d81cc213d7 user: R David Murray <rdmurray@bitdance.com> date: Sat Feb 01 12:27:07 2014 -0500 summary: whatsnew: move of reload, update new windows-only ssl functions
entry.
files: Doc/whatsnew/3.4.rst | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 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 @@ -765,6 +765,10 @@ it will normally be desirable to override the default implementation for performance reasons. (Contributed by Brett Cannon in
:issue:`18072`.)
+The :func:`~importlib.reload` function has been moved from :mod:`imp` +to :mod:`importlib`. The :func:`mod.reload` name is retained for +backward compatibility, but is deprecated. +
That wording seems confusing to me. It makes it seem like importlib.reload is deprecated when in fact it's the imp module itself.
I committed that thinking I'd finished working on that entry, but I hadn't. The updated text reads:
The reload() function has been moved from imp to importlib as part of the imp module deprecation.
Is that clearer?
Yep! And thanks for catching the missing entry. -Brett
--David
participants (2)
-
Brett Cannon
-
R. David Murray