Skip to content

Give AST's excepthandler proper attributes #46763

Closed

Description

@birkenfeld
BPO 2511
Nosy @loewis, @birkenfeld
Files
  • ast-except.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/birkenfeld'
    closed_at = <Date 2008-03-30.06:40:25.967>
    created_at = <Date 2008-03-29.18:30:07.804>
    labels = ['interpreter-core']
    title = "Give AST's excepthandler proper attributes"
    updated_at = <Date 2008-03-30.06:40:25.949>
    user = 'https://github.com/birkenfeld'

    bugs.python.org fields:

    activity = <Date 2008-03-30.06:40:25.949>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2008-03-30.06:40:25.967>
    closer = 'georg.brandl'
    components = ['Interpreter Core']
    creation = <Date 2008-03-29.18:30:07.804>
    creator = 'georg.brandl'
    dependencies = []
    files = ['9892']
    hgrepos = []
    issue_num = 2511
    keywords = ['patch']
    message_count = 3.0
    messages = ['64714', '64721', '64742']
    nosy_count = 2.0
    nosy_names = ['loewis', 'georg.brandl']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue2511'
    versions = ['Python 2.6', 'Python 3.0']

    Activity

    1. birkenfeld commented on Mar 29, 2008

      @birkenfeld
      MemberAuthor

      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.

    2. loewis commented on Mar 29, 2008

      loewismannequin
      Mannequin

      Sounds fine to me.

    3. assigned and unassigned on Mar 29, 2008
    4. birkenfeld commented on Mar 30, 2008

      @birkenfeld
      MemberAuthor

      Committed in r62047.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions