[Ironpython-users] IronPython, Daily Digest 8/20/2013

CodePlex no_reply at codeplex.com
Wed Aug 21 09:18:59 CEST 2013


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] ast.parse fails on semicolon
2. [New issue] ast.parse: TryExcept within TryFinally doesn't have the lineno attribute

----------------------------------------------

ISSUES

1. [New comment] ast.parse fails on semicolon
http://ironpython.codeplex.com/workitem/34196
User Demon has commented on the issue:

"<p>Tested OK with 2.7.4rc1<br></p>"-----------------

2. [New issue] ast.parse: TryExcept within TryFinally doesn't have the lineno attribute
http://ironpython.codeplex.com/workitem/34389
User Demon has proposed the issue:

"ast.parse: TryExcept within TryFinally doesn't have the lineno attribute

Reproduction code:

Inline Code
>>> m = ast.parse("""
... try:
...     pass
... except:
...     pass
... finally:
...     pass""")
>>> m.body[0]
<TryFinally object at 0x0000000000000031>
>>> m.body[0].body[0]
<TryExcept object at 0x0000000000000032>
>>> m.body[0].body[0].lineno
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'TryExcept' object has no attribute 'lineno'

Note: this works without a problem in CPython"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20130821/938a9bd2/attachment.html>


More information about the Ironpython-users mailing list