[issue32932] better error message when __all__ contains non-str objects

Brett Cannon report at bugs.python.org
Sat Feb 24 14:05:19 EST 2018


Brett Cannon <brett at python.org> added the comment:

Fixing the message makes sense. I assume this is happening in ceval.c or import.c since https://github.com/python/cpython/blob/42c35d9c0c8175332f50fbe034a001fe52f057b9/Lib/importlib/_bootstrap.py#L1021 has the appropriate message?

----------
nosy: +barry

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


More information about the Python-bugs-list mailing list