This PR fixes #293, an issue where strings returned by eval were rooted for the entire lifetime of the program, rather than only for the lifetime of the underlying PyUnicodeObject.
This PR also fixes #299, an issue where JSExternalStrings passed back to python would create a new PyUnicodeObject using the same underlying char buffer, rather than the exact same PyUnicodeObject.
This PR fixes #293, an issue where strings returned by
eval
were rooted for the entire lifetime of the program, rather than only for the lifetime of the underlying PyUnicodeObject.This PR also fixes #299, an issue where JSExternalStrings passed back to python would create a new PyUnicodeObject using the same underlying char buffer, rather than the exact same PyUnicodeObject.