
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2015-09-30 13:32 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| importlib_format_verbose_message.patch | serhiy.storchaka,2015-09-30 13:32 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg251937 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2015-09-30 13:32 | |
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_messageIndexError: tuple index out of rangeProposed patch fixes the issue. | |||
| msg252009 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2015-10-01 08:57 | |
New changesetda42b38f7470 by Serhiy Storchaka in branch '3.4':Issue#25280: Import trace messages emitted in verbose (-v) mode are nohttps://hg.python.org/cpython/rev/da42b38f7470New changeset10c13441bf8d by Serhiy Storchaka in branch '3.5':Issue#25280: Import trace messages emitted in verbose (-v) mode are nohttps://hg.python.org/cpython/rev/10c13441bf8dNew changesete377d568928b by Serhiy Storchaka in branch 'default':Issue#25280: Import trace messages emitted in verbose (-v) mode are nohttps://hg.python.org/cpython/rev/e377d568928b | |||
| msg252011 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2015-10-01 09:20 | |
Thank you Brett for your review. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:22 | admin | set | github: 69467 |
| 2015-10-01 09:20:34 | serhiy.storchaka | set | status: open -> closed messages: +msg252011 assignee:serhiy.storchaka resolution: fixed stage: patch review -> resolved |
| 2015-10-01 08:57:07 | python-dev | set | nosy: +python-dev messages: +msg252009 |
| 2015-09-30 13:32:17 | serhiy.storchaka | create | |