Skip to content

Commit

Permalink
Merge from 5.x: PR spyder-ide#21439
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Oct 20, 2023
2 parents e6dabd1 + 6e18943 commit 41e3943
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spyder/plugins/onlinehelp/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"""

# Standard library imports
import os
import os.path as osp
import pydoc
import sys
Expand Down Expand Up @@ -67,6 +68,10 @@ def spyder_safeimport(path, forceload=0, cache={}):
except Exception:
pass

# Needed to prevent showing a warning message regarding debugging.
# Fixes spyder-ide/spyder#20390 and spyder-ide/spyder#21171
os.environ["PYDEVD_DISABLE_FILE_VALIDATION"] = "1"


class PydocServer(QThread):
"""
Expand Down

0 comments on commit 41e3943

Please sign in to comment.