Skip to content

Make namespace hygiene easier in cuda.core.__init__.py#1934

Merged
cpcloud merged 3 commits into
NVIDIA:mainfrom
mdboom:better-namespace-hygiene
Apr 17, 2026
Merged

Make namespace hygiene easier in cuda.core.__init__.py#1934
cpcloud merged 3 commits into
NVIDIA:mainfrom
mdboom:better-namespace-hygiene

Conversation

@mdboom

@mdboom mdboom commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

Related to #1931 and auditing for unintentionally exposed symbols, doing this import magic inside of a function will make managing unexpected exposure a lot easier. Note we don't have to remember all of the variables to del anymore if we do it this way.

@mdboom mdboom self-assigned this Apr 16, 2026
@mdboom mdboom added enhancement Any code-related improvements cuda.core Everything related to the cuda.core module labels Apr 16, 2026
@mdboom mdboom added this to the cuda.core v1.0.0 milestone Apr 16, 2026
@github-actions

Copy link
Copy Markdown

@cpcloud cpcloud left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine.

@cpcloud
cpcloud enabled auto-merge (squash) April 17, 2026 14:15
@cpcloud
cpcloud merged commit 9cee313 into NVIDIA:main Apr 17, 2026
90 checks passed
github-actions Bot pushed a commit that referenced this pull request Apr 18, 2026
Removed preview folders for the following PRs:
- PR #1593
- PR #1908
- PR #1923
- PR #1925
- PR #1933
- PR #1934
- PR #1938
- PR #1939
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.core Everything related to the cuda.core module enhancement Any code-related improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants