示例#1
0
def xreload(mod):
    """Reload a module in place, updating classes, methods and functions.

    mod: a module object
    """
    r = Reload(mod)
    r.apply()
    r = None
    pydevd_dont_trace.clear_trace_filter_cache()
示例#2
0
def xreload(mod):
    """Reload a module in place, updating classes, methods and functions.

    mod: a module object
    """
    r = Reload(mod)
    r.apply()
    r = None
    pydevd_dont_trace.clear_trace_filter_cache()
示例#3
0
def xreload(mod):
    """Reload a module in place, updating classes, methods and functions.

    mod: a module object

    Returns a boolean indicating whether a change was done.
    """
    r = Reload(mod)
    r.apply()
    found_change = r.found_change
    r = None
    pydevd_dont_trace.clear_trace_filter_cache()
    return found_change
示例#4
0
def xreload(mod):
    """Reload a module in place, updating classes, methods and functions.

    mod: a module object

    Returns a boolean indicating whether a change was done.
    """
    r = Reload(mod)
    r.apply()
    found_change = r.found_change
    r = None
    pydevd_dont_trace.clear_trace_filter_cache()
    return found_change