-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Labels
P1Medium priority - Should doMedium priority - Should docuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core moduledocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementAny code-related improvementsAny code-related improvements
Description
During investigation of #454 and related doc rendering issues, it has come to my attention that the type checking detection logic does not work well with Sphinx (ex: sphinx-doc/sphinx#13137, sphinx-doc/sphinx#11225).
Independently, Ralf has pointed out that it makes code debugging harder (#463 (comment)).
The idea of having a if TYPE_CHECKING:
check is to avoid unnecessary imports or circular imports. If such issues do not exist, we should avoid using it.
Metadata
Metadata
Assignees
Labels
P1Medium priority - Should doMedium priority - Should docuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core moduledocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementAny code-related improvementsAny code-related improvements