This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Julian.Gindi, Tim.Graham, berker.peksag, bignose, brett.cannon,, eric.snow, ezio.melotti, ncoghlan, python-dev, rhettinger, serhiy.storchaka
Date 2017-10-25.05:41:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't think the index in error message is needed. Unlike to str.join() which accepts arbitrary iterables of arbitrary names, the fromlist usually is a short tuple.

Interesting, what happen if the fromlist is not a list or tuple?

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

Import is successful because the iterator was exhausted by "'*' in fromlist".
Date User Action Args
2017-10-25 05:41:11serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, rhettinger, ncoghlan, ezio.melotti, bignose, python-dev, eric.snow, berker.peksag, Julian.Gindi,, Tim.Graham
2017-10-25 05:41:10serhiy.storchakasetmessageid: <>
2017-10-25 05:41:10serhiy.storchakalinkissue21720 messages
2017-10-25 05:41:10serhiy.storchakacreate