Issue 2511: Give AST's excepthandler proper attributes
Created on 2008-03-29 18:30 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| ast-except.diff | georg.brandl, 2008-03-29 18:30 | |||
| Messages (3) | |||
|---|---|---|---|
| msg64714 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2008-03-29 18:30 | |
The ASDL file has an XXX comment about excepthandler's lineno and col_offset -- they are not attributes but fields which gets confusing when this is exported to Python code. I think the only way to solve this is to make it a "trivial" Sum with one element. This patch does that. |
|||
| msg64721 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2008-03-29 19:59 | |
Sounds fine to me. |
|||
| msg64742 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2008-03-30 06:40 | |
Committed in r62047. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:32 | admin | set | github: 46763 |
| 2008-03-30 06:40:25 | georg.brandl | set | status: open -> closed messages: + msg64742 |
| 2008-03-29 19:59:36 | loewis | set | assignee: loewis -> georg.brandl resolution: accepted messages: + msg64721 |
| 2008-03-29 18:30:07 | georg.brandl | create | |
