Message304960
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/__init__.py'>
Import is successful because the iterator was exhausted by "'*' in fromlist". |
|
Date |
User |
Action |
Args |
2017-10-25 05:41:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, rhettinger, ncoghlan, ezio.melotti, bignose, python-dev, eric.snow, berker.peksag, Julian.Gindi, davidszotten@gmail.com, Tim.Graham |
2017-10-25 05:41:10 | serhiy.storchaka | set | messageid: <1508910070.99.0.213398074469.issue21720@psf.upfronthosting.co.za> |
2017-10-25 05:41:10 | serhiy.storchaka | link | issue21720 messages |
2017-10-25 05:41:10 | serhiy.storchaka | create | |
|