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

Zachary Ware report at bugs.python.org
Wed Jul 11 11:09:24 EDT 2018


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>
_______________________________________


More information about the docs mailing list