pyo3 icon indicating copy to clipboard operation
pyo3 copied to clipboard

experimental: owned objects API

Open davidhewitt opened this issue 5 years ago • 4 comments

This is active branch to replace #1300 and #1304

See the discussions in those PRs to the motivation for the design (and some preliminary benchmarks).

The idea is that we can use this new experimental API to iterate on types and traits. We should be able to make the macros and prelude be compatible with both APIs until we are ready to call the new API stable and then deprecate the original one.

TODO (list probably not complete):

  • [ ] Make experimental forms of macros
  • [ ] Lots of documentation for all new functions
  • [ ] Implement type PyAnyRaw = Py<Any> ?

davidhewitt avatar Dec 08 '20 22:12 davidhewitt

(Similar to the abi3 branch, I expect it might take a while for this one to be ready to merge. I'll try to work on it when I can; I'm quite busy at the moment too!)

davidhewitt avatar Dec 08 '20 22:12 davidhewitt

Thanks!

kngwyu avatar Dec 10 '20 08:12 kngwyu

How can we make progress with this? Anything that can be split into smaller changes and be contributed by less experienced coders? ;)

aviramha avatar Dec 18 '21 20:12 aviramha

I'd like to start looking at this as part of the 0.17 release work, in perhaps a month or so. I'll try to find a good way to split this at that point.

davidhewitt avatar Dec 27 '21 09:12 davidhewitt

Closing in favour of #3361

davidhewitt avatar Aug 11 '23 22:08 davidhewitt