experimental: owned objects API
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
experimentalforms of macros - [ ] Lots of documentation for all new functions
- [ ] Implement
type PyAnyRaw = Py<Any>?
(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!)
Thanks!
How can we make progress with this? Anything that can be split into smaller changes and be contributed by less experienced coders? ;)
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.
Closing in favour of #3361