Open willdealtry opened 1 week ago
The various Python string creation methods already start from a ref-count of 1, so we need to increment from 1 not 0 in the string allocation code, otherwise the reference count reduction in the allocated frame is not enough to free the object
The various Python string creation methods already start from a ref-count of 1, so we need to increment from 1 not 0 in the string allocation code, otherwise the reference count reduction in the allocated frame is not enough to free the object