Skip to content

Conversation

zollqir
Copy link
Collaborator

@zollqir zollqir commented May 23, 2024

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.

@zollqir zollqir added bug Something isn't working release-blocker labels May 23, 2024
@zollqir zollqir added this to the v1.0.0 milestone May 23, 2024
@zollqir zollqir self-assigned this May 23, 2024
@philippedistributive philippedistributive self-requested a review May 23, 2024 16:11
@zollqir zollqir merged commit 9eea86a into main Jun 5, 2024
@zollqir zollqir deleted the caleb/fix/rootedstrings branch June 5, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release-blocker
Projects
None yet
3 participants