Skip to content

Conversation

@davidhewitt
Copy link
Member

This PR changes

  • py.None() to return &PyNone
  • py.NotImplemented() to return &PyNotImplemented
  • py.Ellipsis() to return &PyEllipsis

This was discussed in #3577 (comment) where it was suggested there was no needed to make this a standalone PR. I decided to break it out anyway as this is a change that may create some small breakages for users, so I wanted to make the diff for this more visible (and show how PyO3 code adjusted to it), as well as make a migration guide entry for it.

@davidhewitt davidhewitt added this pull request to the merge queue Nov 20, 2023
Merged via the queue into PyO3:main with commit 7b07d6d Nov 20, 2023
@davidhewitt davidhewitt deleted the typed-helpers branch November 20, 2023 07:54
wyfo pushed a commit to wyfo/pyo3 that referenced this pull request Nov 20, 2023
davidhewitt added a commit to davidhewitt/pyo3 that referenced this pull request Feb 3, 2024
github-merge-queue bot pushed a commit that referenced this pull request Feb 3, 2024
Revert "Merge pull request #3578 from davidhewitt/typed-helpers"
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