libpy icon indicating copy to clipboard operation
libpy copied to clipboard

`autofunction` name and doc should not require static storage

Open llllllllll opened this issue 6 years ago • 0 comments

We should build a linked list of string objects, stored in libpy.so, which owns the memory for the function name and docstring. In the worst case scenario, there will be 2 copies of the name in memory, in the best case scenario, we will avoid a potential use after free.

llllllllll avatar Jul 07 '20 18:07 llllllllll