viur-framework / flare

Python framework to create web-apps on top of Pyodide
https://flare.docs.viur.dev
MIT License
33 stars 10 forks source link

New book-keeping for proxies in event-listeners #49

Closed phorward closed 2 years ago

phorward commented 2 years ago

This pull request improves the book-keeping started previously. To be honest, it never worked as expected, because id() is the wrong identifier to find out a function's memory address, it is just the unique address of an object within its lifetime. hash() fixed the problem.