[Python-Dev] [Python-checkins] cpython: whatsnew: move of reload, update new windows-only ssl functions entry.

Brett Cannon brett at python.org
Sun Feb 2 21:10:32 CET 2014


On Feb 2, 2014 1:08 PM, "R. David Murray" <rdmurray at bitdance.com> wrote:
>
> On Sat, 01 Feb 2014 13:20:48 -0500, Brett Cannon <brett at python.org> wrote:
> > On Sat, Feb 1, 2014 at 12:27 PM, r.david.murray
> > <python-checkins at python.org>wrote:
> >
> > > http://hg.python.org/cpython/rev/b3f034f5000f
> > > changeset:   88884:b3f034f5000f
> > > parent:      88882:19d81cc213d7
> > > user:        R David Murray <rdmurray at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140202/ab969686/attachment.html>


More information about the Python-Dev mailing list