Author Arfrever
Recipients Arfrever, brett.cannon, eric.snow, larry, ncoghlan, python-dev, serhiy.storchaka
Date 2014-01-07.17:27:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389115662.46.0.0979116008763.issue19713@psf.upfronthosting.co.za>
In-reply-to
Content
> New changeset 37caaf21f827 by Eric Snow in branch 'default':
> Issue 19713: Add PEP 451-related deprecations.
> http://hg.python.org/cpython/rev/37caaf21f827
> ...
> -        spec.loader.load_module(spec.name)
> +        try:
> +            _warnings
> +        except NameError:
> +            # We must be importing builtins in setup().
> +            spec.loader.load_module(spec.name)
> +        else:
> +            spec.loader.load_module(spec.name)

Is this correct?
History
Date User Action Args
2014-01-07 17:27:42Arfreversetrecipients: + Arfrever, brett.cannon, ncoghlan, larry, python-dev, eric.snow, serhiy.storchaka
2014-01-07 17:27:42Arfreversetmessageid: <1389115662.46.0.0979116008763.issue19713@psf.upfronthosting.co.za>
2014-01-07 17:27:42Arfreverlinkissue19713 messages
2014-01-07 17:27:42Arfrevercreate