pybluemonday icon indicating copy to clipboard operation
pybluemonday copied to clipboard

Re-evaluate passing IDs between Go and Python

Open ColdHeat opened this issue 5 years ago • 0 comments

It's hard to pass non primitive types between Go and Python so pybluemonday passes an ID between the two. This is probably not thread safe and could lead to memory leaks if people do weird things.

Investigation should be done as to how to better approach this without making the code too hard to work with.

Any advice here would be great as to how other libraries would do this would interacting with Go since it seems like it's not possible to pass a Go struct over into Python.

ColdHeat avatar Dec 11 '20 20:12 ColdHeat