Did I find the right examples for you? yes no

All Samples(210)  |  Call(205)  |  Derive(0)  |  Import(5)
Get information about arguments passed into a particular frame.

A tuple of four things is returned: (args, varargs, varkw, locals).
'args' is a list of the argument names (it may contain nested lists).
'varargs' and 'varkw' are the names of the * and ** arguments or None.
'locals' is the locals dictionary of the given frame.

        def getargvalues(frame):
    """Get information about arguments passed into a particular frame.

    A tuple of four things is returned: (args, varargs, varkw, locals).
    'args' is a list of the argument names (it may contain nested lists).
    'varargs' and 'varkw' are the names of the * and ** arguments or None.
    'locals' is the locals dictionary of the given frame."""
    args, varargs, varkw = getargs(frame.f_code)
    return ArgInfo(args, varargs, varkw, frame.f_locals)
        


src/t/r/tripod-0.1/tripod/sampler.py   tripod(Download)
        lineno, co = f.f_lineno, f.f_code
        name, filename = co.co_name, co.co_filename
        args = inspect.getargvalues(f)
 
        linecache.checkcache(filename)

src/o/t/otrace-0.30.9/tornademos/otrace.py   otrace(Download)
        frameobj, filename, lineno, function, code_context, index = inspect.stack(context=0)[1]
 
        args, varargs, varkw, locals_dict = inspect.getargvalues(frameobj)
 
        try:
        frame_records.reverse()
 
        argvalues = inspect.getargvalues(frameobj)
        args, varargs, varkw, caller_locals_dict = argvalues
 
            if copy_locals or j+1 == len(frame_records):
                # Get local variables and arguments for frame (always for last frame)
                args, varargs, varkw, locals_dict = inspect.getargvalues(frameobj)
                # Copy locals_dict (just to be safe in avoiding cyclic references)
                locals_dict = TraceDict(cls.copy_or_not(locals_dict, split=True))

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/cgitb.py   main(Download)
        else:
            file = link = '?'
        args, varargs, varkw, locals = inspect.getargvalues(frame)
        call = ''
        if func != '?':
    for frame, file, lnum, func, lines, index in records:
        file = file and os.path.abspath(file) or '?'
        args, varargs, varkw, locals = inspect.getargvalues(frame)
        call = ''
        if func != '?':

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/CPython/27/Lib/cgitb.py   main(Download)
        else:
            file = link = '?'
        args, varargs, varkw, locals = inspect.getargvalues(frame)
        call = ''
        if func != '?':
    for frame, file, lnum, func, lines, index in records:
        file = file and os.path.abspath(file) or '?'
        args, varargs, varkw, locals = inspect.getargvalues(frame)
        call = ''
        if func != '?':

src/g/r/graphterm-0.52.0/graphterm/otrace.py   graphterm(Download)
        frameobj, filename, lineno, function, code_context, index = inspect.stack(context=0)[1]
 
        args, varargs, varkw, locals_dict = inspect.getargvalues(frameobj)
 
        try:
        frame_records.reverse()
 
        argvalues = inspect.getargvalues(frameobj)
        args, varargs, varkw, caller_locals_dict = argvalues
 
            if copy_locals or j+1 == len(frame_records):
                # Get local variables and arguments for frame (always for last frame)
                args, varargs, varkw, locals_dict = inspect.getargvalues(frameobj)
                # Copy locals_dict (just to be safe in avoiding cyclic references)
                locals_dict = TraceDict(cls.copy_or_not(locals_dict, split=True))

src/o/t/otrace-0.30.9/otrace.py   otrace(Download)
        frameobj, filename, lineno, function, code_context, index = inspect.stack(context=0)[1]
 
        args, varargs, varkw, locals_dict = inspect.getargvalues(frameobj)
 
        try:
        frame_records.reverse()
 
        argvalues = inspect.getargvalues(frameobj)
        args, varargs, varkw, caller_locals_dict = argvalues
 
            if copy_locals or j+1 == len(frame_records):
                # Get local variables and arguments for frame (always for last frame)
                args, varargs, varkw, locals_dict = inspect.getargvalues(frameobj)
                # Copy locals_dict (just to be safe in avoiding cyclic references)
                locals_dict = TraceDict(cls.copy_or_not(locals_dict, split=True))

src/p/y/pydroid-HEAD/src/pydroid/framework/project_skeleton/libs/python27/lib/python2.7/cgitb.py   pydroid(Download)
        else:
            file = link = '?'
        args, varargs, varkw, locals = inspect.getargvalues(frame)
        call = ''
        if func != '?':
    for frame, file, lnum, func, lines, index in records:
        file = file and os.path.abspath(file) or '?'
        args, varargs, varkw, locals = inspect.getargvalues(frame)
        call = ''
        if func != '?':

src/i/p/ipython-2.0.0/IPython/core/ultratb.py   ipython(Download)
            file = py3compat.cast_unicode(file, util_path.fs_encoding)
            link = tpl_link % file
            args, varargs, varkw, locals = inspect.getargvalues(frame)
 
            if func == '?':

src/i/p/ipython-HEAD/IPython/core/ultratb.py   ipython(Download)
            file = py3compat.cast_unicode(file, util_path.fs_encoding)
            link = tpl_link % file
            args, varargs, varkw, locals = inspect.getargvalues(frame)
 
            if func == '?':

src/o/t/otrace-HEAD/otrace.py   otrace(Download)
        frameobj, filename, lineno, function, code_context, index = inspect.stack(context=0)[1]
 
        args, varargs, varkw, locals_dict = inspect.getargvalues(frameobj)
 
        try:
        frame_records.reverse()
 
        argvalues = inspect.getargvalues(frameobj)
        args, varargs, varkw, caller_locals_dict = argvalues
 
            if copy_locals or j+1 == len(frame_records):
                # Get local variables and arguments for frame (always for last frame)
                args, varargs, varkw, locals_dict = inspect.getargvalues(frameobj)
                # Copy locals_dict (just to be safe in avoiding cyclic references)
                locals_dict = TraceDict(cls.copy_or_not(locals_dict, split=True))

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next