[Ironpython-users] IronPython, Daily Digest 3/27/2013

CodePlex no_reply at codeplex.com
Thu Mar 28 08:17:49 CET 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20130328/77f90aa1/attachment.html>


More information about the Ironpython-users mailing list