Skip to content

Give a better error message for Python argument in __traverse__#3260

Merged
davidhewitt merged 1 commit intoPyO3:mainfrom
mejrs:traverse
Jun 20, 2023
Merged

Give a better error message for Python argument in __traverse__#3260
davidhewitt merged 1 commit intoPyO3:mainfrom
mejrs:traverse

Conversation

@mejrs
Copy link
Member

@mejrs mejrs commented Jun 19, 2023

I think it'd be nice to have the docs written in #3168 as a compile error somewhere.

@mejrs mejrs added the CI-skip-changelog Skip checking changelog entry label Jun 19, 2023
Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

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

Agreed, this is a helpful improvement. See also #3180 (which I had originally thought this PR closed until I reread).

@davidhewitt davidhewitt added this pull request to the merge queue Jun 20, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 20, 2023
@davidhewitt davidhewitt added this pull request to the merge queue Jun 20, 2023
Merged via the queue into PyO3:main with commit b2a1a96 Jun 20, 2023
ritchie46 pushed a commit to pola-rs/pyo3 that referenced this pull request Dec 5, 2024
Give a better error message for Python argument in __traverse__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-skip-changelog Skip checking changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants