[Ironpython-users] IronPython, Daily Digest 6/24/2011
no_reply at codeplex.com
no_reply at codeplex.com
Sat Jun 25 09:53:02 CEST 2011
Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] Getting f_builtins from frame while tracing throws null ref exception
----------------------------------------------
ISSUES
1. [New issue] Getting f_builtins from frame while tracing throws null ref exception
http://ironpython.codeplex.com/workitem/30908
User dinov has proposed the issue:
"def f(frame, event, arg):
print frame.f_locals
print frame.f_globals
print frame.f_builtins
import sys
sys.settrace(f)
def g(): print 'hi'
Object reference not set to an instance of an object.
at IronPython.Runtime.Exceptions.TraceBackFrame.get_f_builtins()
at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Invoke(Object arg0)
at IronPython.Runtime.Binding.PythonGetMemberBinder.FastPropertyGet`1.GetProperty(CallSite site, TSelfType target, CodeContext context)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run4[T0,T1,T2,T3,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3)
at IronPython.Compiler.PythonCallTargets.OriginalCallTarget3(PythonFunction function, Object arg0, Object arg1, Object arg2)
at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
at _Scripting_(Object[] , TraceBackFrame , String , Object )
at IronPython.Runtime.PythonTracebackListener.DispatchTrace(List`1 thread, TraceEventKind kind, Object payload, TracebackDelegate traceDispatch, Object trace
DispatchObject, TraceBackFrame pyFrame)
at IronPython.Runtime.PythonTracebackListener.OnTraceEvent(TraceEventKind kind, String name, String sourceFileName, SourceSpan sourceSpan, Func`1 scopeCallba
ck, Object payload, Object customPayload)"
----------------------------------------------
----------------------------------------------
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/20110625/0657f59a/attachment.html>
More information about the Ironpython-users
mailing list