Skip to content

implement PyBoolMethods#3652

Merged
adamreichold merged 1 commit intoPyO3:mainfrom
davidhewitt:bool2
Dec 15, 2023
Merged

implement PyBoolMethods#3652
adamreichold merged 1 commit intoPyO3:mainfrom
davidhewitt:bool2

Conversation

@davidhewitt
Copy link
Copy Markdown
Member

Implements PyBoolMethods trait as per #3382

This one will remain in draft, because Py2::<PyBool>::borrowed_from_gil_ref(&self).is_true() requires the PyBool in the turbofish there to avoid ambiguity. I'm going to open a PR which might offer a way to avoid this.

@davidhewitt davidhewitt added the CI-skip-changelog Skip checking changelog entry label Dec 14, 2023
@davidhewitt
Copy link
Copy Markdown
Member Author

Rebased this now that #3653 is in; this should be a fairly straightforward review hopefully :)

@davidhewitt davidhewitt marked this pull request as ready for review December 15, 2023 14:40
@adamreichold adamreichold added this pull request to the merge queue Dec 15, 2023
Merged via the queue into PyO3:main with commit 118d578 Dec 15, 2023
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