[docs] [issue34094] Porting Python 2 to Python 3 example contradicts its own advice

Bruce Richardson report at bugs.python.org
Wed Jul 11 12:46:38 EDT 2018


Bruce Richardson <it.is.bruce at gmail.com> added the comment:

Ah, doh. my bad.

On 11 July 2018 at 16:09, Zachary Ware <report at bugs.python.org> wrote:

>
> Zachary Ware <zachary.ware at gmail.com> added the comment:
>
> I don't agree with your conclusion here: importlib2 is a PyPI package that
> backports Python 3's importlib to Python 2, thus the ImportError will only
> be raised on Python 2 with the example as written.
>
> ----------
> nosy: +zach.ware
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue34094>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34094>
_______________________________________


More information about the docs mailing list