We must implement explicit support for cpython's garbage collector, otherwise we'll have memory leaks.
https://pyo3.rs/v0.19.0/class/protocols.html?highlight=garbage%20collector#garbage-collector-integration
See this thread where I shared a reproduction which proves we currently have a memory leak:
https://discord.com/channels/458662222697070613/1085299745116917851/1118689518321684541
We must implement explicit support for cpython's garbage collector, otherwise we'll have memory leaks.
https://pyo3.rs/v0.19.0/class/protocols.html?highlight=garbage%20collector#garbage-collector-integration
See this thread where I shared a reproduction which proves we currently have a memory leak:
https://discord.com/channels/458662222697070613/1085299745116917851/1118689518321684541