Conversation

Legoclones

Instead of converting char* -> double -> PyFloat, we're now converting char* -> PyUnicode -> PyFloat. The added benefit is that the PyFloat_FromString() function tolerates leading and trailing whitespace, aligning with the behavior of the INT opcode and the Python pickle implementation of load_float().

Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

@Legoclones