Skip to content

Fix exception clauses in Buffer.fill helpers - #1381

Merged
Andy-Jost merged 3 commits into
NVIDIA:mainfrom
Andy-Jost:fix-cython-except-clauses
Dec 16, 2025
Merged

Fix exception clauses in Buffer.fill helpers#1381
Andy-Jost merged 3 commits into
NVIDIA:mainfrom
Andy-Jost:fix-cython-except-clauses

Conversation

@Andy-Jost

Copy link
Copy Markdown
Contributor

Summary

  • Adjust Cython helper signatures in Buffer.fill to use non-void return types with explicit exception clauses, avoiding Cython 3 warnings while preserving behavior.

Test plan

  • pre-commit run --all-files

Use non-void return types with explicit exception clauses for Cython helpers that
may raise via HANDLE_RETURN.
@Andy-Jost Andy-Jost added the cuda.core Everything related to the cuda.core module label Dec 16, 2025
@Andy-Jost Andy-Jost self-assigned this Dec 16, 2025
@Andy-Jost
Andy-Jost requested a review from leofang December 16, 2025 17:00
@copy-pr-bot

copy-pr-bot Bot commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@Andy-Jost
Andy-Jost requested review from rparolin and rwgk December 16, 2025 17:00
@Andy-Jost

Copy link
Copy Markdown
Contributor Author

/ok to test e9dca3e

@Andy-Jost

Copy link
Copy Markdown
Contributor Author

/ok to test 881fba8

@github-actions

This comment has been minimized.

@leofang leofang added enhancement Any code-related improvements P1 Medium priority - Should do labels Dec 16, 2025
@leofang leofang added this to the cuda.core beta 10 milestone Dec 16, 2025
@Andy-Jost

Copy link
Copy Markdown
Contributor Author

/ok to test 0a07bad

@Andy-Jost
Andy-Jost enabled auto-merge (squash) December 16, 2025 18:09
@Andy-Jost
Andy-Jost merged commit 027ba10 into NVIDIA:main Dec 16, 2025
81 checks passed
@github-actions

Copy link
Copy Markdown
Doc Preview CI
Preview removed because the pull request was closed or merged.

@Andy-Jost
Andy-Jost deleted the fix-cython-except-clauses branch December 16, 2025 21:09
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 P1 Medium priority - Should do

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants