Skip to content

Conversation

tomasr8
Copy link
Member

@tomasr8 tomasr8 commented May 1, 2025

Changes the error message from the default ctypes error which rather cryptic to a more user-friendly error.

The error message follows the same structure as the one raised by array.array.

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM.

@serhiy-storchaka serhiy-storchaka merged commit f52de8a into python:main May 9, 2025
43 checks passed
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants