[ python-Bugs-1509132 ] compiler module builds incorrect AST for TryExceptFinally
SourceForge.net
noreply at sourceforge.net
Wed Jun 21 19:45:30 CEST 2006
Bugs item #1509132, was opened at 2006-06-20 08:17
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1509132&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Adrien Di Mascio (adimasci)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler module builds incorrect AST for TryExceptFinally
Initial Comment:
the finally clause in a try ... except ... finally
statement is seen as a "else" clause by transformer.py.
There is no special code to handle finally clauses for
a try / except node
(Maybe ast.TryExcept should accept a finally_ argument
after the else_ one)
Python version : 2.5b1 (r46858)
----------------------------------------------------------------------
>Comment By: Georg Brandl (gbrandl)
Date: 2006-06-21 17:45
Message:
Logged In: YES
user_id=849994
Fixed in rev. 47057.
----------------------------------------------------------------------
Comment By: Georg Brandl (gbrandl)
Date: 2006-06-20 15:57
Message:
Logged In: YES
user_id=849994
Thanks for reporting! I fixed this and will commit as soon
as the trunk is unfrozen.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1509132&group_id=5470
More information about the Python-bugs-list
mailing list