Skip to content

Use #[pyclass(generic)] for SetOf in declarative ASN.1#14742

Merged
alex merged 1 commit intopyca:mainfrom
reaperhulk:pyclass
Apr 25, 2026
Merged

Use #[pyclass(generic)] for SetOf in declarative ASN.1#14742
alex merged 1 commit intopyca:mainfrom
reaperhulk:pyclass

Conversation

@reaperhulk
Copy link
Copy Markdown
Member

PyO3's generic pyclass argument auto-generates class_getitem via PyGenericAlias, replacing the manual implementation.

PyO3's `generic` pyclass argument auto-generates __class_getitem__ via
PyGenericAlias, replacing the manual implementation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alex alex enabled auto-merge (squash) April 25, 2026 15:29
@alex alex merged commit 76229c3 into pyca:main Apr 25, 2026
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants