Title: Give AST's excepthandler proper attributes
Type: Stage:
Components: Interpreter Core Versions: Python 3.0, Python 2.6
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, loewis
Priority: normal Keywords: patch

Created on 2008-03-29 18:30 by georg.brandl, last changed 2008-03-30 06:40 by georg.brandl. This issue is now closed.

File name Uploaded Description Edit
ast-except.diff georg.brandl, 2008-03-29 18:30
Messages (3)
msg64714 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) 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) * (Python committer) Date: 2008-03-29 19:59
Sounds fine to me.
msg64742 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-03-30 06:40
Committed in r62047.
Date User Action Args
2008-03-30 06:40:25georg.brandlsetstatus: open -> closed
messages: + msg64742
2008-03-29 19:59:36loewissetassignee: loewis -> georg.brandl
resolution: accepted
messages: + msg64721
2008-03-29 18:30:07georg.brandlcreate