Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New comment] ScriptScope.TryGetVariable<>() throws exception if item isn't
expected type.
2. [New comment] ScriptScope.TryGetVariable<>() throws exception if item isn't
expected type.
----------------------------------------------
ISSUES
1. [New comment] ScriptScope.TryGetVariable<>() throws exception if item isn't
expected type.
http://ironpython.codeplex.com/workitem/33918
User slide_o_mix has commented on the issue:
"<p>Generally, the Try variants of functions should not throw
exceptions.</p"-----------------
2. [New comment] ScriptScope.TryGetVariable<>() throws exception if item isn't
expected type.
http://ironpython.codeplex.com/workitem/33918
User KeithJRome has commented on the issue:
"<p>The “Try” part is only to test existence of the key (which in this case it
is found). The generic type parameter is still expected to match. If you aren’t
sure of the datatype of the variable, then you may wish to consider using the
alternative overload of the TryGetVariable method:</p><p> bool
TryGetVariable(string name, out dynamic value)<br></p"
----------------------------------------------
----------------------------------------------
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.
_______________________________________________
Ironpython-users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/ironpython-users