A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-May/134676.html below:

[Python-Dev] [Python-checkins] cpython: Issue #20383: Introduce importlib.util.module_from_spec().

[Python-Dev] [Python-checkins] cpython: Issue #20383: Introduce importlib.util.module_from_spec(). [Python-Dev] [Python-checkins] cpython: Issue #20383: Introduce importlib.util.module_from_spec().Brett Cannon bcannon at gmail.com
Fri May 30 22:28:46 CEST 2014
On Fri May 30 2014 at 3:39:47 PM, Eric Snow <ericsnowcurrently at gmail.com>
wrote:

> On Fri, May 30, 2014 at 12:55 PM, brett.cannon
> <python-checkins at python.org> wrote:
> > http://hg.python.org/cpython/rev/b26d021081d2
> > changeset:   90915:b26d021081d2
> > parent:      90913:69011f6ce573
> > user:        Brett Cannon <brett at python.org>
> > date:        Fri May 30 14:55:29 2014 -0400
> > summary:
> >   Issue #20383: Introduce importlib.util.module_from_spec().
> >
> > diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
> > --- a/Lib/importlib/_bootstrap.py
> > +++ b/Lib/importlib/_bootstrap.py
> > @@ -581,20 +581,19 @@
> >      return loader
> >
> >
> > -def _load_module_shim(self, fullname):
> > +def _load_module_shim(spec, fullname):
> >      """Load the specified module into sys.modules and return it.
>
> This should have stayed "self", no?
>
>
Yes. Fixed with an added comment to explain why since it isn't obvious in
isolation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140530/23a36f6b/attachment-0001.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4