diff options
Diffstat (limited to 'python/helpers/pydev/pydevd_vars.py')
-rw-r--r-- | python/helpers/pydev/pydevd_vars.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/python/helpers/pydev/pydevd_vars.py b/python/helpers/pydev/pydevd_vars.py index 0cc45f73710f..3baea5b61b99 100644 --- a/python/helpers/pydev/pydevd_vars.py +++ b/python/helpers/pydev/pydevd_vars.py @@ -3,10 +3,12 @@ """ import pickle from django_frame import DjangoTemplateFrame +from pydevd_constants import * #@UnusedWildImport from types import * #@UnusedWildImport from pydevd_custom_frames import getCustomFrame from pydevd_xml import * +from _pydev_imps import _pydev_thread try: from StringIO import StringIO @@ -14,13 +16,10 @@ except ImportError: from io import StringIO import sys #@Reimport -if USE_LIB_COPY: - import _pydev_threading as threading -else: - import threading +import _pydev_threading as threading import traceback import pydevd_save_locals -from pydev_imports import Exec, execfile +from pydev_imports import Exec, quote, execfile try: import types @@ -69,7 +68,7 @@ def dumpFrames(thread_id): # AdditionalFramesContainer #=============================================================================== class AdditionalFramesContainer: - lock = threading.Lock() + lock = _pydev_thread.allocate_lock() additional_frames = {} #dict of dicts |