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 brett.cannon, eric.snow, ncoghlan, serhiy.storchaka
Date 2015-09-30.13:32:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443619937.76.0.139042721481.issue25280@psf.upfronthosting.co.za>
In-reply-to
Content
In importlib a verbose message can be formatted twice, the first time before passing it to _verbose_message(), and the second time in _verbose_message(), Example: $ python -v ... >>> open('{0}.pyc', 'wb').close() >>> __import__('{0}') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 658, in exec_module File "<frozen importlib._bootstrap_external>", line 869, in get_code File "<frozen importlib._bootstrap_external>", line 440, in _validate_bytecode_header File "<frozen importlib._bootstrap_external>", line 368, in _verbose_message IndexError: tuple index out of range Proposed patch fixes the issue.
History
Date User Action Args
2015-09-30 13:32:18serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, eric.snow
2015-09-30 13:32:17serhiy.storchakasetmessageid: <1443619937.76.0.139042721481.issue25280@psf.upfronthosting.co.za>
2015-09-30 13:32:17serhiy.storchakalinkissue25280 messages
2015-09-30 13:32:17serhiy.storchakacreate