[issue32932] better error message when __all__ contains non-str objects
Nick Coghlan
report at bugs.python.org
Mon Feb 26 04:11:50 EST 2018
Nick Coghlan <ncoghlan at gmail.com> added the comment:
I +1'ed Serhiy's patch for issue 32946, so we'll have to take that micro-optimisation into account if we decide to rely on the Python level `_handle_fromlist` to cover the "*" import case.
Given that optimisation, it's probably simpler to just enhance the C error path to use the same error message as the Python version, though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32932>
_______________________________________
More information about the Python-bugs-list
mailing list