Пример #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