[issue33645] Importing bs4 fails with -3 option in Python 2.7.15

Florian Schulze report at bugs.python.org
Fri May 25 10:31:59 EDT 2018


Florian Schulze <florian.schulze at gmx.net> added the comment:

Yes, it's third party code, but that worked up until Python 2.7.14 and only broke with 2.7.15, which is why I reported it here.

The expected behaviour is not a SyntaxError, but a DeprecationWarning, which is what you get pre Python 2.7.15. So this is a regression.

----------

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


More information about the Python-bugs-list mailing list