MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / PyFloat_FromString

Function PyFloat_FromString

Objects/floatobject.c:173–237  ·  view source on GitHub ↗

RED_FLAG 22-Sep-2000 tim PyFloat_FromString's pend argument is braindead. Prior to this RED_FLAG, 1. If v was a regular string, *pend was set to point to its terminating null byte. That's useless (the caller can find that without any help from this function!). 2. If v was a Unicode string, or an object convertible to a character buffer, *pend was set to point into stack trash (th

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_match_number_unicodeFunction · 0.85
PyNumber_FloatFunction · 0.85
float_newFunction · 0.85

Calls 5

PyOS_string_to_doubleFunction · 0.85
PyFloat_FromDoubleFunction · 0.85
PyOS_snprintfFunction · 0.85
PyErr_SetStringFunction · 0.85
PyErr_OccurredFunction · 0.50

Tested by

no test coverage detected