[issue21720] "TypeError: Item in ``from list'' not a string" message

Serhiy Storchaka report at bugs.python.org
Wed Oct 25 01:42:14 EDT 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

>>> __import__('encodings', fromlist=iter(('aliases', b'foobar')))
<module 'encodings' from '/home/serhiy/py/cpython/Lib/encodings/__init__.py'>

----------

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


More information about the Python-bugs-list mailing list