
Hey folks, I made a proposal to modify lifetime management for PyProxy attributes. This is intended to make writing object oriented code with PyProxy reasonably succinct without leaking the Python objects. Proposal: https://github.com/pyodide/pyodide/issues/1617 Implementation: https://github.com/pyodide/pyodide/pull/1636 Please let us know what you think. Also, a reminder that I have another proposal regarding PyProxy lifetime management and Javascript function calls here: Proposal https://github.com/pyodide/pyodide/issues/1607 Implementation: https://github.com/pyodide/pyodide/pull/1573 Hood

Hi Hood, thanks a lot for working on improving the memory management in Pyodide! We are very much looking for feedback on these two proposals, particularly from current users who are using Python ↔ JavaScript translation API. Roman On 18/06/2021 23:19, Hood Chatham wrote:
Hey folks,
I made a proposal to modify lifetime management for PyProxy attributes. This is intended to make writing object oriented code with PyProxy reasonably succinct without leaking the Python objects.
Proposal: https://github.com/pyodide/pyodide/issues/1617 <https://github.com/pyodide/pyodide/issues/1617> Implementation: https://github.com/pyodide/pyodide/pull/1636 <https://github.com/pyodide/pyodide/pull/1636>
Please let us know what you think.
Also, a reminder that I have another proposal regarding PyProxy lifetime management and Javascript function calls here:
Proposal https://github.com/pyodide/pyodide/issues/1607 <https://github.com/pyodide/pyodide/issues/1607> Implementation: https://github.com/pyodide/pyodide/pull/1573 <https://github.com/pyodide/pyodide/pull/1573>
Hood
_______________________________________________ Pyodide mailing list -- pyodide@python.org To unsubscribe send an email to pyodide-leave@python.org https://mail.python.org/mailman3/lists/pyodide.python.org/ Member address: rth.yurchak@gmail.com
participants (2)
-
Hood Chatham
-
Roman Yurchak