-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,814 additions
and
1,796 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
# Defines which version of the PyDBAdditionalThreadInfo we'll use. | ||
from _pydevd_bundle.pydevd_constants import ENV_FALSE_LOWER_VALUES, USE_CYTHON_FLAG, ENV_TRUE_LOWER_VALUES | ||
|
||
if USE_CYTHON_FLAG in ENV_TRUE_LOWER_VALUES: | ||
# We must import the cython version if forcing cython | ||
from _pydevd_bundle.pydevd_cython_wrapper import ( | ||
PyDBAdditionalThreadInfo, | ||
set_additional_thread_info, | ||
_set_additional_thread_info_lock, # @UnusedImport | ||
any_thread_stepping, | ||
remove_additional_info, | ||
) # @UnusedImport | ||
|
||
elif USE_CYTHON_FLAG in ENV_FALSE_LOWER_VALUES: | ||
# Use the regular version if not forcing cython | ||
from _pydevd_bundle.pydevd_additional_thread_info_regular import ( | ||
PyDBAdditionalThreadInfo, | ||
set_additional_thread_info, | ||
_set_additional_thread_info_lock, # @UnusedImport @Reimport | ||
any_thread_stepping, | ||
remove_additional_info, | ||
) # @UnusedImport @Reimport | ||
|
||
else: | ||
# Regular: use fallback if not found (message is already given elsewhere). | ||
try: | ||
from _pydevd_bundle.pydevd_cython_wrapper import ( | ||
PyDBAdditionalThreadInfo, | ||
set_additional_thread_info, | ||
_set_additional_thread_info_lock, | ||
any_thread_stepping, | ||
remove_additional_info, | ||
) | ||
except ImportError: | ||
from _pydevd_bundle.pydevd_additional_thread_info_regular import ( | ||
PyDBAdditionalThreadInfo, | ||
set_additional_thread_info, | ||
_set_additional_thread_info_lock, # @UnusedImport | ||
any_thread_stepping, | ||
remove_additional_info, | ||
) # @UnusedImport | ||
# Defines which version of the PyDBAdditionalThreadInfo we'll use. | ||
from _pydevd_bundle.pydevd_constants import ENV_FALSE_LOWER_VALUES, USE_CYTHON_FLAG, ENV_TRUE_LOWER_VALUES | ||
|
||
if USE_CYTHON_FLAG in ENV_TRUE_LOWER_VALUES: | ||
# We must import the cython version if forcing cython | ||
from _pydevd_bundle.pydevd_cython_wrapper import ( | ||
PyDBAdditionalThreadInfo, | ||
set_additional_thread_info, | ||
_set_additional_thread_info_lock, # @UnusedImport | ||
any_thread_stepping, | ||
remove_additional_info, | ||
) # @UnusedImport | ||
|
||
elif USE_CYTHON_FLAG in ENV_FALSE_LOWER_VALUES: | ||
# Use the regular version if not forcing cython | ||
from _pydevd_bundle.pydevd_additional_thread_info_regular import ( | ||
PyDBAdditionalThreadInfo, | ||
set_additional_thread_info, | ||
_set_additional_thread_info_lock, # @UnusedImport @Reimport | ||
any_thread_stepping, | ||
remove_additional_info, | ||
) # @UnusedImport @Reimport | ||
|
||
else: | ||
# Regular: use fallback if not found (message is already given elsewhere). | ||
try: | ||
from _pydevd_bundle.pydevd_cython_wrapper import ( | ||
PyDBAdditionalThreadInfo, | ||
set_additional_thread_info, | ||
_set_additional_thread_info_lock, | ||
any_thread_stepping, | ||
remove_additional_info, | ||
) | ||
except ImportError: | ||
from _pydevd_bundle.pydevd_additional_thread_info_regular import ( | ||
PyDBAdditionalThreadInfo, | ||
set_additional_thread_info, | ||
_set_additional_thread_info_lock, # @UnusedImport | ||
any_thread_stepping, | ||
remove_additional_info, | ||
) # @UnusedImport |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.