MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / update

Method update

_pydev_bundle/pydev_ipython_console_011.py:364–376  ·  view source on GitHub ↗
(self, globals, locals)

Source from the content-addressed store, hash-verified

362 self.ipython.show_banner()
363
364 def update(self, globals, locals):
365 ns = self.ipython.user_ns
366
367 for key, value in list(ns.items()):
368 if key not in locals:
369 locals[key] = value
370
371 self.ipython.user_global_ns.clear()
372 self.ipython.user_global_ns.update(globals)
373 self.ipython.user_ns = locals
374
375 if hasattr(self.ipython, "history_manager") and hasattr(self.ipython.history_manager, "save_thread"):
376 self.ipython.history_manager.save_thread.pydev_do_not_trace = True # don't trace ipython history saving thread
377
378 def complete(self, string):
379 try:

Callers 15

get_completionsFunction · 0.45
exec_codeFunction · 0.45
console_execFunction · 0.45
apply_debugger_optionsFunction · 0.45
setup.pyFile · 0.45
python_runFunction · 0.45
test_runfiles_integratedFunction · 0.45
_load_filtersFunction · 0.45
buildFunction · 0.45
find_matchesFunction · 0.45
get_environFunction · 0.45

Calls 2

itemsMethod · 0.80
clearMethod · 0.45

Tested by 5

python_runFunction · 0.36
test_runfiles_integratedFunction · 0.36
_load_filtersFunction · 0.36
get_environFunction · 0.36