-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecate the use of PyCell
in favor of Bound
and Py
#3916
Conversation
f3f21df
to
3a0e958
Compare
3a0e958
to
23a86cc
Compare
I have rebased this, but maybe it makes sense to land this after #3917 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally this looks great, thanks as always. Had just a few small thoughts.
Regarding the ordering, I guess if I get #3917 merged first then it'll be possible to get a lot of the implementation migrated without the deprecation allows going everywhere. I'll try and complete that in a moment...
067c4b3
to
5e5bed6
Compare
5e5bed6
to
2977f9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great following the rebase, thanks again!
Part of #3684, following #3914 (review)
This deprecates
PyCell
in favor ofBound
andPy
.For most of the implementation I just added
#[allow(deprecated)]
, so there might so still some opportunity for refactoring. The tests I have adjusted to the new API.Edit: I marked this as draft, since it depends on #3914