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.