marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
5.39k stars 158 forks source link

Use weakref.finalize instead of __del__ in Html destruction #1591

Closed akshayka closed 3 weeks ago

akshayka commented 3 weeks ago

To avoid spurious error logs on Python exit.

weakref.finalize is called when an object is destructed (like __del__), but it can be configured to not be called when Python is exiting.

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2024 3:19am
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2024 3:19am
github-actions[bot] commented 3 weeks ago

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.6.18-dev7