[issue21720] "TypeError: Item in ``from list'' not a string" message
Berker Peksag
report at bugs.python.org
Fri Oct 7 17:31:29 EDT 2016
Berker Peksag added the comment:
Here's a patch to demonstrate what I meant in msg226047.
Example from the REPL:
>>> __import__('encodings', fromlist=[u'aliases'])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: Item in ``from list'' must be str, not unicode
----------
Added file: http://bugs.python.org/file45006/issue21720.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21720>
_______________________________________
More information about the Python-bugs-list
mailing list