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.
Created on 2015年05月26日 07:47 by serhiy.storchaka, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| opcodes_ws.patch | yselivanov, 2015年05月26日 14:04 | review | ||
| generate_opcode_h_align.patch | serhiy.storchaka, 2015年05月27日 14:12 | review | ||
| Messages (7) | |||
|---|---|---|---|
| msg244089 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2015年05月26日 07:47 | |
Changeset eeeb666a5365 in issue24017 unintentionally changed formatting of generated file Include/opcode.h. Now clean building CPython modifies Include/opcode.h. One solution is to restore formatting of Include/opcode.h (regenerate it and commit). Other solution is to change Tools/scripts/generate_opcode_h.py to generate a file without trailing spaces. |
|||
| msg244105 - (view) | Author: Yury Selivanov (yselivanov) * (Python committer) | Date: 2015年05月26日 14:04 | |
> Other solution is to change Tools/scripts/generate_opcode_h.py to generate a file without trailing spaces. I like this option. I saw the whitespace, but I usually don't touch autogenerated files, so I naturally thought that someone has modified the tooling before my commit and it's fine. Anyways, please see the attached patch. |
|||
| msg244169 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2015年05月27日 14:12 | |
I think the intension was to produce aligned data, but the alignment of the second column was wrong. Here is a patch that corrects formatting. |
|||
| msg244170 - (view) | Author: Yury Selivanov (yselivanov) * (Python committer) | Date: 2015年05月27日 14:49 | |
lgtm |
|||
| msg244213 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2015年05月27日 18:32 | |
New changeset 055834bb3685 by Serhiy Storchaka in branch '3.5': Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs. https://hg.python.org/cpython/rev/055834bb3685 New changeset 9d9438cac3db by Serhiy Storchaka in branch 'default': Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs. https://hg.python.org/cpython/rev/9d9438cac3db |
|||
| msg284154 - (view) | Author: Tres Seaver (tseaver) * | Date: 2016年12月28日 06:03 | |
ISTM that this issue should be re-opened, because it breaks out-of-tree building from a pristine / read-only source tree. If they are "public" headers, files like 'opcode.h' should be generated and checked in as part of the release process, rather than modified during a normal build. |
|||
| msg284165 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2016年12月28日 08:27 | |
Please open new issue Tres. If it is not opened. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:17 | admin | set | github: 68476 |
| 2016年12月28日 08:27:07 | serhiy.storchaka | set | messages: + msg284165 |
| 2016年12月28日 06:09:18 | tseaver | set | title: permissions -> Include/opcode.h is modified during building |
| 2016年12月28日 06:08:03 | tseaver | set | title: Include/opcode.h is modified during building -> permissions |
| 2016年12月28日 06:03:55 | tseaver | set | nosy:
+ tseaver messages: + msg284154 |
| 2015年05月27日 18:32:47 | serhiy.storchaka | set | status: open -> closed assignee: serhiy.storchaka resolution: fixed stage: patch review -> resolved |
| 2015年05月27日 18:32:17 | python-dev | set | messages: + msg244213 |
| 2015年05月27日 14:49:01 | yselivanov | set | messages: + msg244170 |
| 2015年05月27日 14:12:13 | serhiy.storchaka | set | files:
+ generate_opcode_h_align.patch messages: + msg244169 stage: needs patch -> patch review |
| 2015年05月26日 14:04:46 | yselivanov | set | files:
+ opcodes_ws.patch keywords: + patch messages: + msg244105 |
| 2015年05月26日 07:47:55 | serhiy.storchaka | create | |