Skip to content

begin drafting Bound<T> migration guide#3693

Closed
davidhewitt wants to merge 2 commits intoPyO3:mainfrom
davidhewitt:bound-migration
Closed

begin drafting Bound<T> migration guide#3693
davidhewitt wants to merge 2 commits intoPyO3:mainfrom
davidhewitt:bound-migration

Conversation

@davidhewitt
Copy link
Member

This PR is a start of the migration guide to Bound<T>. I think there's still a lot more to be added here, but I wanted to push this anyway so that we can have a central place to start collecting migration notes as well as agree on the way we want to communicate this to users.

In addition to the major API type overhaul, PyO3 has needed to make a few small breaking adjustments to other APIs to close correctness and soundness gaps.

The recommended steps to update to PyO3 0.21 is as follows:
1. Add compatibility code to convert new `Bound<T>` smart pointers back to GIL Refs
Copy link
Member Author

Choose a reason for hiding this comment

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

Ok I think this is not the approach we are taking any more, I'll come back to rewrite this section later.

@davidhewitt
Copy link
Member Author

Superseded by #3707

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.

1 participant