mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[python] (IJPL-205889) (BAZEL-2462) don't call getOrCreateAdditionalData for non-python sdks
+ add requirePythonSdk() verification for the Sdk extension functions, these methods are not designed to be called for non-python sdks and now will throw IllegalArgumentException. also corrects dependency tree: + move PythonSdkUtil to the python.sdk module, remove dependency on psi.impl + create PySkeletonUtil for skeleton utils and leave it in the psi.impl [python] (IJPL-205889) (BAZEL-2462) don't call getOrCreateAdditionalData for non-python sdks + add requirePythonSdk() verification for the Sdk extension functions, these methods are not designed to be called for non-python sdks and now will throw IllegalArgumentException also corrects dependency tree: + move PythonSdkUtil to the python.sdk module, remove dependency on psi.impl + create PySkeletonUtil for skeleton utils and leave it in the psi.impl GitOrigin-RevId: 20d958c5e15cc4e05545b2e61b126b5e015696ed
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d071383211
commit
84934e9e9e
+1
-1
@@ -10,7 +10,7 @@ import com.intellij.platform.eel.provider.localEel
|
||||
import com.intellij.python.community.services.systemPython.SystemPythonProvider
|
||||
import com.jetbrains.python.PythonBinary
|
||||
import com.jetbrains.python.errorProcessing.PyResult
|
||||
import com.jetbrains.python.sdk.PythonSdkUtil
|
||||
import com.jetbrains.python.sdk.legacy.PythonSdkUtil
|
||||
import com.jetbrains.python.sdk.WinRegistryService
|
||||
import com.jetbrains.python.sdk.getAppxFiles
|
||||
import com.jetbrains.python.venvReader.tryResolvePath
|
||||
|
||||
Reference in New Issue
Block a user