Did I find the right examples for you? yes no

All Samples(3043)  |  Call(2988)  |  Derive(0)  |  Import(55)
Return a list of records for the stack above the caller's frame.

        def stack(context=1):
    """Return a list of records for the stack above the caller's frame."""
    return getouterframes(sys._getframe(1), context)
        


src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/modules/scala-0.9.1/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py   heroku-playframework(Download)
    def debug(msg, *args, **kwds):
        if OPTIMIZATION_HACK:
            return
 
        caller_name = inspect.stack()[1][3]

src/l/a/landline-server-HEAD/co.whatisuplabs.ldln/lib/play/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py   landline-server(Download)
    def debug(msg, *args, **kwds):
        if OPTIMIZATION_HACK:
            return
 
        caller_name = inspect.stack()[1][3]

src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py   heroku-playframework(Download)
    def debug(msg, *args, **kwds):
        if OPTIMIZATION_HACK:
            return
 
        caller_name = inspect.stack()[1][3]

src/r/e/restcommander-HEAD/play-1.2.4/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py   restcommander(Download)
    def debug(msg, *args, **kwds):
        if OPTIMIZATION_HACK:
            return
 
        caller_name = inspect.stack()[1][3]

src/p/u/pureplay-HEAD/modules/scala-0.7.3/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py   pureplay(Download)
    def debug(msg, *args, **kwds):
        if OPTIMIZATION_HACK:
            return
 
        caller_name = inspect.stack()[1][3]

src/p/u/pureplay-HEAD/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py   pureplay(Download)
    def debug(msg, *args, **kwds):
        if OPTIMIZATION_HACK:
            return
 
        caller_name = inspect.stack()[1][3]

src/p/y/pysb-HEAD/pysb/examples/paper_figures/fig6.py   pysb(Download)
def objective_func(x, rate_mask, lb, ub):
 
    caller_frame, _, _, caller_func, _, _ = inspect.stack()[1]
    if caller_func in {'anneal', '_minimize_anneal'}:
        caller_locals = caller_frame.f_locals

src/t/k/tkRAD-1.5-Sugar-Extra/example/SOS_tkRAD/widgets/rad_application.py   tkRAD(Download)
                kw.get("app_root_dir"),
 
                inspect.stack()[-1][1],
 
                ".",

src/d/j/django-example-HEAD/wsgi/openshift/openshiftlibs.py   django-example(Download)
                    my_list[key] = supplied_function(vals)
    else:
        calling_file = inspect.stack()[1][1]
        if os.getenv('OPENSHIFT_REPO_DIR'):
            base = os.getenv('OPENSHIFT_REPO_DIR')

src/m/e/Metadator-HEAD/test/pyttk-samples-0.1.7/theming.py   Metadator(Download)
    def optionxform(self, optionstr):
        """This method overrides the ConfigParser.RawConfigParser's one."""
        caller = inspect.stack()[1] # caller's record
        caller_func_name = caller[3]
        if caller_func_name in ('set', '_read'):

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