- 
                Notifications
    
You must be signed in to change notification settings  - Fork 217
 
Open
Labels
P1Medium priority - Should doMedium priority - Should docuda.bindingsEverything related to the cuda.bindings moduleEverything related to the cuda.bindings modulecuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core moduleenhancementAny code-related improvementsAny code-related improvementstriageNeeds the team's attentionNeeds the team's attention
Milestone
Description
I think we should just
import pywintypesand then use it explicitly likeexcept pywintypes.error as e:. I agree it is very unclear (and I did not knowerroris a legit exception type).
Originally posted by @leofang in #625 (comment)
I like Google's Python style guide on this part:
https://google.github.io/styleguide/pyguide.html#22-imports
Use import statements for packages and modules only, not for individual types, classes, or functions.
Metadata
Metadata
Assignees
Labels
P1Medium priority - Should doMedium priority - Should docuda.bindingsEverything related to the cuda.bindings moduleEverything related to the cuda.bindings modulecuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core moduleenhancementAny code-related improvementsAny code-related improvementstriageNeeds the team's attentionNeeds the team's attention